aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-04-23 23:11:41 +0800
committerErik Kundt <bitshift@posteo.org>2018-04-23 23:11:41 +0800
commit896018c8a33f92e9dd507b462c858dbcf13d6385 (patch)
tree213d6b6aa043ea3f00c18f7a5b55cfd4728407d0 /test/libsolidity/syntaxTests
parentb2ff9bc88d50e89419317d54b00e80b4c18a92c7 (diff)
downloaddexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.tar
dexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.tar.gz
dexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.tar.bz2
dexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.tar.lz
dexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.tar.xz
dexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.tar.zst
dexon-solidity-896018c8a33f92e9dd507b462c858dbcf13d6385.zip
Treats inline array as an error.
Diffstat (limited to 'test/libsolidity/syntaxTests')
-rw-r--r--test/libsolidity/syntaxTests/types/empty_tuple_lvalue_array.sol4
1 files changed, 1 insertions, 3 deletions
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.