mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make error message less confusing
This commit is contained in:
@@ -8,4 +8,4 @@ contract B is A {
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError 8961: (100-105): Function declared as view, but this expression (potentially) modifies the state and thus requires non-payable (the default) or payable.
|
||||
// TypeError 8961: (100-105): Function cannot be declared as view because this expression (potentially) modifies the state.
|
||||
|
||||
Reference in New Issue
Block a user