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 @@
enum E { A }
contract E {}
// ----
// DeclarationError: (13-26): Identifier already declared.
// DeclarationError 2333: (13-26): Identifier already declared.
@@ -1,4 +1,4 @@
enum E { A }
enum E { A }
// ----
// DeclarationError: (13-25): Identifier already declared.
// DeclarationError 2333: (13-25): Identifier already declared.
@@ -7,4 +7,4 @@ contract C {
}
}
// ----
// Warning: (30-42): This declaration shadows an existing declaration.
// Warning 2519: (30-42): This declaration shadows an existing declaration.