aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwbt <wbt@users.noreply.github.com>2018-01-24 00:55:37 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-02-27 07:08:17 +0800
commit92fe9e621eace7527818ac1a136603d15058cb87 (patch)
tree466b6eea950c5771a93d6328d2147970dc7a7081
parenteb3b92f831212bbcd9c499435ddb99c9d55e2e8d (diff)
downloaddexon-solidity-92fe9e621eace7527818ac1a136603d15058cb87.tar.gz
dexon-solidity-92fe9e621eace7527818ac1a136603d15058cb87.tar.zst
dexon-solidity-92fe9e621eace7527818ac1a136603d15058cb87.zip
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``.