mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove a dedicated error flag from DeclarationTypeChecker
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user