From d829794737233e23b0aa53d0360fa9f626209ba0 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 4 Dec 2018 11:22:49 +0100 Subject: Improve yul error messages around number of arguments and variables. --- .../inlineAssembly/function_call_invalid_argument_count.sol | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/libsolidity/syntaxTests/inlineAssembly') 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. -- cgit v1.2.3