diff options
author | chriseth <chris@ethereum.org> | 2018-12-04 18:22:49 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-12-04 18:37:03 +0800 |
commit | d829794737233e23b0aa53d0360fa9f626209ba0 (patch) | |
tree | 1c7bccd8bd6fd6ba93a5e8dd3f34d0ddcc8a0ece /test/libsolidity/syntaxTests/inlineAssembly | |
parent | 336287821a1eb831e69414dedb77a6d77570709f (diff) | |
download | dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.gz dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.bz2 dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.lz dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.xz dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.tar.zst dexon-solidity-d829794737233e23b0aa53d0360fa9f626209ba0.zip |
Improve yul error messages around number of arguments and variables.
Diffstat (limited to 'test/libsolidity/syntaxTests/inlineAssembly')
-rw-r--r-- | test/libsolidity/syntaxTests/inlineAssembly/function_call_invalid_argument_count.sol | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/libsolidity/syntaxTests/inlineAssembly/function_call_invalid_argument_count.sol b/test/libsolidity/syntaxTests/inlineAssembly/function_call_invalid_argument_count.sol index ac1f541e..2d36bedd 100644 --- a/test/libsolidity/syntaxTests/inlineAssembly/function_call_invalid_argument_count.sol +++ b/test/libsolidity/syntaxTests/inlineAssembly/function_call_invalid_argument_count.sol @@ -10,7 +10,5 @@ contract C { } } // ---- -// TypeError: (87-88): Expected 1 arguments but got 0. -// SyntaxError: (87-90): Top-level expressions are not supposed to return values (this expression returns -1 values). Use ``pop()`` or assign them. -// TypeError: (108-109): Expected 1 arguments but got 2. -// SyntaxError: (108-115): Top-level expressions are not supposed to return values (this expression returns 1 value). Use ``pop()`` or assign them. +// TypeError: (87-88): Function expects 1 arguments but got 0. +// TypeError: (108-109): Function expects 1 arguments but got 2. |