Added error codes to SyntaxTest expectations (updated tests)

This commit is contained in:
a3d4
2020-06-22 16:51:47 +02:00
parent 8ebe7676d5
commit e04cedafc5
1775 changed files with 3951 additions and 3952 deletions
@@ -1,5 +1,5 @@
contract B { function f() virtual public view {} }
contract C is B { function f() public {} }
// ----
// TypeError: (69-91): Overriding function is missing "override" specifier.
// TypeError: (69-91): Overriding function changes state mutability from "view" to "nonpayable".
// TypeError 9456: (69-91): Overriding function is missing "override" specifier.
// TypeError 6959: (69-91): Overriding function changes state mutability from "view" to "nonpayable".