aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-27 07:17:03 +0800
committerGitHub <noreply@github.com>2018-02-27 07:17:03 +0800
commit3aaa5c4a35952b3b1a50aeeee8a8b68521e7fe3b (patch)
tree466b6eea950c5771a93d6328d2147970dc7a7081
parenteb3b92f831212bbcd9c499435ddb99c9d55e2e8d (diff)
parent92fe9e621eace7527818ac1a136603d15058cb87 (diff)
downloaddexon-solidity-3aaa5c4a35952b3b1a50aeeee8a8b68521e7fe3b.tar.gz
dexon-solidity-3aaa5c4a35952b3b1a50aeeee8a8b68521e7fe3b.tar.zst
dexon-solidity-3aaa5c4a35952b3b1a50aeeee8a8b68521e7fe3b.zip
Merge pull request #3426 from wbt/patch-1
Note deprecation of constant keyword on functions
-rw-r--r--docs/contracts.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 6dfcdf60..416dc649 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -467,7 +467,7 @@ The following statements are considered modifying the state:
}
.. note::
- ``constant`` on functions is an alias to ``view``.
+ ``constant`` on functions is an alias to ``view``, but this is deprecated and is planned to be dropped in version 0.5.0.
.. note::
Getter methods are marked ``view``.