mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			187 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			187 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| error E(uint);
 | |
| contract C {
 | |
|     function f() public pure returns (bytes memory) {
 | |
|         return abi.encode(E);
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 2056: (108-109): This type cannot be encoded.
 |