Merge pull request #8915 from a3d4/partfix-5819-remove-erroroccurred-flag

Remove a dedicated error flag from DeclarationTypeChecker and other classes
This commit is contained in:
chriseth
2020-05-12 20:18:33 +02:00
committed by GitHub
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.