Remove a dedicated error flag from DeclarationTypeChecker

This commit is contained in:
a3d4
2020-05-12 18:13:17 +02:00
parent b014b89edc
commit 02d1f8c41a
5 changed files with 8 additions and 9 deletions
@@ -3,5 +3,3 @@ contract test {
}
// ----
// DeclarationError: (31-55): The "constant" keyword can only be used for state variables.
// TypeError: (31-55): Constants of non-value type not yet implemented.
// TypeError: (31-55): Uninitialized "constant" variable.
@@ -3,5 +3,3 @@ contract Foo {
}
// ----
// DeclarationError: (30-55): The "constant" keyword can only be used for state variables.
// TypeError: (30-55): Constants of non-value type not yet implemented.
// TypeError: (30-55): Uninitialized "constant" variable.