aboutsummaryrefslogtreecommitdiffstats
path: root/docs/layout-of-source-files.rst
diff options
context:
space:
mode:
authorWilliam Entriken <github.com@phor.net>2019-01-08 05:29:36 +0800
committerchriseth <chris@ethereum.org>2019-01-10 18:34:58 +0800
commit52fd20e98c140fbc9d177ebc28d366e7da6c3876 (patch)
treed2e90cb60ac5286196de729878ab2561ef32a922 /docs/layout-of-source-files.rst
parent950e193642f46f9e0f66b639e8dda059d149635b (diff)
downloaddexon-solidity-52fd20e98c140fbc9d177ebc28d366e7da6c3876.tar.gz
dexon-solidity-52fd20e98c140fbc9d177ebc28d366e7da6c3876.tar.zst
dexon-solidity-52fd20e98c140fbc9d177ebc28d366e7da6c3876.zip
Use latest version in code snippets.
Diffstat (limited to 'docs/layout-of-source-files.rst')
-rw-r--r--docs/layout-of-source-files.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/layout-of-source-files.rst b/docs/layout-of-source-files.rst
index fa36fc6a..235f4dd4 100644
--- a/docs/layout-of-source-files.rst
+++ b/docs/layout-of-source-files.rst
@@ -37,12 +37,12 @@ breaking changes, those releases will always have versions of the form
The version pragma is used as follows::
- pragma solidity ^0.4.0;
+ pragma solidity ^0.5.2;
-Such a source file will not compile with a compiler earlier than version 0.4.0
-and it will also not work on a compiler starting from version 0.5.0 (this
+Such a source file will not compile with a compiler earlier than version 0.5.2
+and it will also not work on a compiler starting from version 0.6.0 (this
second condition is added by using ``^``). The idea behind this is that
-there will be no breaking changes until version ``0.5.0``, so we can always
+there will be no breaking changes until version ``0.6.0``, so we can always
be sure that our code will compile the way we intended it to. We do not fix
the exact version of the compiler, so that bugfix releases are still possible.