Merge pull request #3655 from lastperson/patch-3

Revert warning update about `view` modifier
This commit is contained in:
Alex Beregszaszi 2018-03-06 09:05:56 +01:00 committed by GitHub
commit a9e02accb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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