Merge pull request #4466 from ethereum/tupleNotEmpty

Disallow empty tuple components.
This commit is contained in:
chriseth
2018-07-10 21:03:30 +02:00
committed by GitHub
10 changed files with 27 additions and 49 deletions
+1 -1
View File
@@ -7916,7 +7916,7 @@ BOOST_AUTO_TEST_CASE(string_tuples)
return (h(), "def");
}
function h() public returns (string) {
return ("abc",);
return ("abc");
}
}
)";