aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-03-06 16:05:56 +0800
committerGitHub <noreply@github.com>2018-03-06 16:05:56 +0800
commita9e02accb96fb1eb39942fa3a68f1904df7ae41d (patch)
tree62a11ba19bf7fd35074431ff768d903018064885
parent41ea502f0e4c67339c4954ba0008a945ba110e87 (diff)
parent5d486b741fc5352bb7d02a812fb7566f1749f9a7 (diff)
downloaddexon-solidity-a9e02accb96fb1eb39942fa3a68f1904df7ae41d.tar.gz
dexon-solidity-a9e02accb96fb1eb39942fa3a68f1904df7ae41d.tar.zst
dexon-solidity-a9e02accb96fb1eb39942fa3a68f1904df7ae41d.zip
Merge pull request #3655 from lastperson/patch-3
Revert warning update about `view` modifier
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index e61667dd..67d4a249 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -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