mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			270 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			270 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract Test {
 | |
|     event E(uint);
 | |
|     function f() public {
 | |
|         abi.decode(E, (bool));
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 1956: (80-81): The first argument to "abi.decode" must be implicitly convertible to bytes memory or bytes calldata, but is of type event E(uint256).
 |