mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3655 from lastperson/patch-3
Revert warning update about `view` modifier
This commit is contained in:
commit
a9e02accb9
@ -473,7 +473,7 @@ The following statements are considered modifying the state:
|
||||
Getter methods are marked ``view``.
|
||||
|
||||
.. warning::
|
||||
Before version 0.4.17 the compiler didn't enforce that ``view`` is not modifying the state.
|
||||
The compiler does not enforce yet that a ``view`` method is not modifying state. It raises a warning though.
|
||||
|
||||
.. index:: ! pure function, function;pure
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user