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,4 +1,4 @@
contract c {
function f() pure public { 1.
// ----
// ParserError: (47-47): Expected identifier but got end of source
// ParserError 2314: (47-47): Expected identifier but got end of source
@@ -2,4 +2,4 @@ contract test {
function f() pure public { 1.x; }
}
// ----
// TypeError: (47-50): Member "x" not found or not visible after argument-dependent lookup in int_const 1.
// TypeError 9582: (47-50): Member "x" not found or not visible after argument-dependent lookup in int_const 1.
@@ -1,4 +1,4 @@
contract c {
function f() pure public { 0.
// ----
// ParserError: (47-47): Expected identifier but got end of source
// ParserError 2314: (47-47): Expected identifier but got end of source
@@ -2,4 +2,4 @@ contract test {
function f() pure public { 0.x; }
}
// ----
// TypeError: (47-50): Member "x" not found or not visible after argument-dependent lookup in int_const 0.
// TypeError 9582: (47-50): Member "x" not found or not visible after argument-dependent lookup in int_const 0.