Ensures an empty use of var keyword is caught with the proper error message.

This commit is contained in:
Christian Parpart
2018-08-01 09:59:06 +02:00
parent beb66db66f
commit a7150f85a6
6 changed files with 59 additions and 2 deletions
@@ -0,0 +1,7 @@
contract C {
function f() public pure {
(uint a, uint b, uint c);
}
}
// ----
// ParserError: (76-77): Expected '=' but got ';'