mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #4466 from ethereum/tupleNotEmpty
Disallow empty tuple components.
This commit is contained in:
@@ -7916,7 +7916,7 @@ BOOST_AUTO_TEST_CASE(string_tuples)
|
||||
return (h(), "def");
|
||||
}
|
||||
function h() public returns (string) {
|
||||
return ("abc",);
|
||||
return ("abc");
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
||||
Reference in New Issue
Block a user