mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			209 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			209 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract Test {
 | 
						|
	uint constant x = 2;
 | 
						|
	function f() public pure {
 | 
						|
		assembly {
 | 
						|
			let y := x.length
 | 
						|
		}
 | 
						|
	}
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 3622: (91-99): The suffix ".length" is not supported by this variable or type.
 |