Adjusts syntax tests to new constructor syntax.

This commit is contained in:
Erik Kundt
2018-07-18 14:29:01 +02:00
parent 182a0a9551
commit de6cd2425b
29 changed files with 3 additions and 116 deletions
@@ -2,4 +2,4 @@ contract C {
function constructor() public;
}
// ----
// Warning: (17-47): This function is named "constructor" but is not the constructor of the contract. If you intend this to be a constructor, use "constructor(...) { ... }" without the "function" keyword to define it.
// ParserError: (26-37): This function is named "constructor" but is not the constructor of the contract. If you intend this to be a constructor, use "constructor(...) { ... }" without the "function" keyword to define it.