aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-17 01:55:34 +0800
committerGitHub <noreply@github.com>2018-04-17 01:55:34 +0800
commit8be4cba5703a4baa1a4f2347d98c9f3e5b158cc4 (patch)
tree7fdf46bfbc9baedad70b384c60d6455275c15c3d /docs/contracts.rst
parent923d1b4c04f914c0f3cbffc062869bf00642ce44 (diff)
parent2192e4035ab1ec9a8d1f1d2ebc9c918c5b725dcb (diff)
downloaddexon-solidity-8be4cba5703a4baa1a4f2347d98c9f3e5b158cc4.tar.gz
dexon-solidity-8be4cba5703a4baa1a4f2347d98c9f3e5b158cc4.tar.zst
dexon-solidity-8be4cba5703a4baa1a4f2347d98c9f3e5b158cc4.zip
Merge pull request #3865 from ethereum/updateConstructorVersionPragmas
[MERGE WITH RELEASE 0.4.22] Update version pragmas in constructor documentation.
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 0c697dd6..a9650531 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -40,7 +40,7 @@ This means that cyclic creation dependencies are impossible.
::
- pragma solidity >0.4.21;
+ pragma solidity ^0.4.22;
contract OwnedToken {
// TokenCreator is a contract type that is defined below.
@@ -989,7 +989,7 @@ default constructor: ``contructor() public {}``.
::
- pragma solidity >0.4.21;
+ pragma solidity ^0.4.22;
contract A {
uint public a;