aboutsummaryrefslogtreecommitdiffstats
path: root/docs/contracts.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/contracts.rst')
-rw-r--r--docs/contracts.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/contracts.rst b/docs/contracts.rst
index e6654f90..315d1815 100644
--- a/docs/contracts.rst
+++ b/docs/contracts.rst
@@ -331,7 +331,7 @@ inheritable properties of contracts and may be overridden by derived contracts.
::
- pragma solidity >0.4.24;
+ pragma solidity >0.4.99 <0.6.0;
contract owned {
constructor() public { owner = msg.sender; }
@@ -500,7 +500,7 @@ The following statements are considered modifying the state:
::
- pragma solidity >0.4.24;
+ pragma solidity >0.4.99 <0.6.0;
contract C {
function f(uint a, uint b) public view returns (uint) {
@@ -545,7 +545,7 @@ In addition to the list of state modifying statements explained above, the follo
::
- pragma solidity >0.4.24;
+ pragma solidity >0.4.99 <0.6.0;
contract C {
function f(uint a, uint b) public pure returns (uint) {
@@ -633,7 +633,7 @@ Like any function, the fallback function can execute complex operations as long
::
- pragma solidity >0.4.24;
+ pragma solidity >0.4.99 <0.6.0;
contract Test {
// This function is called for all messages sent to
@@ -900,7 +900,7 @@ Details are given in the following example.
::
- pragma solidity >0.4.24;
+ pragma solidity >0.4.99 <0.6.0;
contract owned {
constructor() public { owner = msg.sender; }
@@ -1060,7 +1060,7 @@ equivalent to ``constructor() public {}``. For example:
::
- pragma solidity >0.4.24;
+ pragma solidity >0.4.99 <0.6.0;
contract A {
uint public a;