Merge pull request #3426 from wbt/patch-1

Note deprecation of constant keyword on functions
This commit is contained in:
chriseth 2018-02-27 00:17:03 +01:00 committed by GitHub
commit 3aaa5c4a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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