aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorErik Kundt <bitshift@posteo.org>2018-07-02 22:46:54 +0800
committerErik Kundt <bitshift@posteo.org>2018-07-02 22:46:54 +0800
commit2031e8e0c15a6032c5c446edc2bfca5bd8cd8365 (patch)
treedb33aac9098939cd5372b2d745b14f4346a997c0 /docs/contracts.rst
parente16e37f5074ce359b852f3b2e4b80095d22952dc (diff)
downloaddexon-solidity-2031e8e0c15a6032c5c446edc2bfca5bd8cd8365.tar.gz
dexon-solidity-2031e8e0c15a6032c5c446edc2bfca5bd8cd8365.tar.zst
dexon-solidity-2031e8e0c15a6032c5c446edc2bfca5bd8cd8365.zip
Adds review suggestions.
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index 97684000..00e38bc4 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -990,7 +990,7 @@ default constructor: ``contructor() public {}``.
::
- pragma solidity ^0.4.22;
+ pragma solidity >0.4.24;
contract A {
uint public a;
@@ -1007,7 +1007,7 @@ default constructor: ``contructor() public {}``.
A constructor set as ``internal`` causes the contract to be marked as :ref:`abstract <abstract-contract>`.
.. warning ::
- Prior to version 0.4.22, constructors were defined as functions with the same name as the contract. This syntax was deprecated is not allowed anymore in version 0.5.0.
+ Prior to version 0.4.22, constructors were defined as functions with the same name as the contract. This syntax was deprecated and is not allowed anymore in version 0.5.0.
.. index:: ! base;constructor