mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Added error codes to SyntaxTest expectations (updated tests)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user