mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
f927da9182
Visit method now cleanly determines if node represents a function call, struct construction or type conversion. Type checking, validation and error message logic is moved to separate methods.
6 lines
132 B
Solidity
6 lines
132 B
Solidity
contract C {
|
|
function f() pure public { abi.decode("", (0)); }
|
|
}
|
|
// ----
|
|
// TypeError: (60-61): Argument has to be a type name.
|