From 896018c8a33f92e9dd507b462c858dbcf13d6385 Mon Sep 17 00:00:00 2001 From: Erik Kundt Date: Mon, 23 Apr 2018 17:11:41 +0200 Subject: Treats inline array as an error. --- test/libsolidity/syntaxTests/types/empty_tuple_lvalue_array.sol | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/libsolidity/syntaxTests/types/empty_tuple_lvalue_array.sol b/test/libsolidity/syntaxTests/types/empty_tuple_lvalue_array.sol index 8d77df47..f8b2ae7e 100644 --- a/test/libsolidity/syntaxTests/types/empty_tuple_lvalue_array.sol +++ b/test/libsolidity/syntaxTests/types/empty_tuple_lvalue_array.sol @@ -8,6 +8,4 @@ contract C { } } // ---- -// Warning: (146-149): Tuple component cannot be empty. -// Warning: (151-154): Tuple component cannot be empty. -// TypeError: (145-155): Type tuple()[2] memory is not implicitly convertible to expected type tuple(uint256,uint256). +// TypeError: (146-149): Array component cannot be empty. -- cgit v1.2.3