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
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError: (85-86): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError 3859: (85-86): This declaration shadows a declaration outside the inline assembly block.
@@ -7,4 +7,4 @@ contract C {
}
}
// ----
// DeclarationError: (100-101): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError 3859: (100-101): This declaration shadows a declaration outside the inline assembly block.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError: (79-80): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError 3859: (79-80): This declaration shadows a declaration outside the inline assembly block.
@@ -6,4 +6,4 @@ contract C {
}
}
// ----
// DeclarationError: (79-80): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError 3859: (79-80): This declaration shadows a declaration outside the inline assembly block.
@@ -7,4 +7,4 @@ contract C {
}
}
// ----
// DeclarationError: (95-96): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError 3859: (95-96): This declaration shadows a declaration outside the inline assembly block.
@@ -14,5 +14,5 @@ contract B {
}
}
// ----
// DeclarationError: (b:105-106): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError: (b:128-131): The prefix of this declaration conflicts with a declaration outside the inline assembly block.
// DeclarationError 3859: (b:105-106): This declaration shadows a declaration outside the inline assembly block.
// DeclarationError 3859: (b:128-131): The prefix of this declaration conflicts with a declaration outside the inline assembly block.
@@ -10,5 +10,5 @@ contract C {
}
}
// ----
// DeclarationError: (115-118): The prefix of this declaration conflicts with a declaration outside the inline assembly block.
// DeclarationError: (140-143): The prefix of this declaration conflicts with a declaration outside the inline assembly block.
// DeclarationError 3859: (115-118): The prefix of this declaration conflicts with a declaration outside the inline assembly block.
// DeclarationError 3859: (140-143): The prefix of this declaration conflicts with a declaration outside the inline assembly block.