aboutsummaryrefslogtreecommitdiffstats
path: root/docs/050-breaking-changes.rst
diff options
context:
space:
mode:
authorChris Ward <chris.ward@ethereum.org>2019-01-03 00:25:16 +0800
committerChris Ward <chris.ward@ethereum.org>2019-01-07 21:20:10 +0800
commitcefc6c433e1722364a1461a144b077e57e2ecafe (patch)
treeccb81630ace0da0ba436d6084d259f188ad90bf3 /docs/050-breaking-changes.rst
parentaca9e581454585fab494a87febb7da3278e3aa7b (diff)
downloaddexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.gz
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.bz2
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.lz
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.xz
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.tar.zst
dexon-solidity-cefc6c433e1722364a1461a144b077e57e2ecafe.zip
Update non-existant pragma 0.4.99 to 0.5.0
Use correct syntax for pragma Change pragma syntax One more change to pragma syntax
Diffstat (limited to 'docs/050-breaking-changes.rst')
-rw-r--r--docs/050-breaking-changes.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/050-breaking-changes.rst b/docs/050-breaking-changes.rst
index 32241776..01d21c8c 100644
--- a/docs/050-breaking-changes.rst
+++ b/docs/050-breaking-changes.rst
@@ -308,7 +308,7 @@ This will no longer compile with Solidity v0.5.0. However, you can define a comp
::
- pragma solidity >0.4.99 <0.6.0;
+ pragma solidity ^0.5.0;
interface OldContract {
function someOldFunction(uint8 a) external;
function anotherOldFunction() external returns (bool);
@@ -325,7 +325,7 @@ Given the interface defined above, you can now easily use the already deployed p
::
- pragma solidity >0.4.99 <0.6.0;
+ pragma solidity ^0.5.0;
interface OldContract {
function someOldFunction(uint8 a) external;
@@ -345,7 +345,7 @@ commandline compiler for linking):
::
- pragma solidity >0.4.99 <0.6.0;
+ pragma solidity ^0.5.0;
library OldLibrary {
function someFunction(uint8 a) public returns(bool);
@@ -430,7 +430,7 @@ New version:
::
- pragma solidity >0.4.99 <0.6.0;
+ pragma solidity ^0.5.0;
contract OtherContract {
uint x;