diff options
author | chriseth <chris@ethereum.org> | 2018-12-04 19:00:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-04 19:00:36 +0800 |
commit | e49f37be7f64d0306c2e63cea81eb98aa1bc85f1 (patch) | |
tree | e7f0a6f95e6042cd998c5104602920c104dbeaea /test/libsolidity/InlineAssembly.cpp | |
parent | 336287821a1eb831e69414dedb77a6d77570709f (diff) | |
parent | 7698b0b63fc41f1633e3a719519f9af97082a5c2 (diff) | |
download | dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.tar dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.tar.gz dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.tar.bz2 dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.tar.lz dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.tar.xz dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.tar.zst dexon-solidity-e49f37be7f64d0306c2e63cea81eb98aa1bc85f1.zip |
Merge pull request #5582 from ethereum/yulErrorMessages
Improve error messages around invalid function argument count.
Diffstat (limited to 'test/libsolidity/InlineAssembly.cpp')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index 11d4c59f..b6986041 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -433,8 +433,7 @@ BOOST_AUTO_TEST_CASE(variable_access_cross_functions) BOOST_AUTO_TEST_CASE(invalid_tuple_assignment) { - /// The push(42) is added here to silence the unbalanced stack error, so that there's only one error reported. - CHECK_PARSE_ERROR("{ 42 let x, y := 1 }", DeclarationError, "Variable count mismatch."); + CHECK_PARSE_ERROR("{ let x, y := 1 }", DeclarationError, "Variable count mismatch: 2 variables and 1 values"); } BOOST_AUTO_TEST_CASE(instruction_too_few_arguments) |