Update pragmas.

This commit is contained in:
chriseth
2019-03-05 18:10:09 +01:00
parent 77c3352744
commit 8d401ba936
32 changed files with 111 additions and 111 deletions
+6 -6
View File
@@ -49,7 +49,7 @@ Data locations are not only relevant for persistency of data, but also for the s
::
pragma solidity >=0.4.0 <0.6.0;
pragma solidity >=0.4.0 <0.7.0;
contract C {
uint[] x; // the data location of x is storage
@@ -146,7 +146,7 @@ or create a new memory array and copy every element.
::
pragma solidity >=0.4.16 <0.6.0;
pragma solidity >=0.4.16 <0.7.0;
contract C {
function f(uint len) public pure {
@@ -175,7 +175,7 @@ In the example below, the type of ``[1, 2, 3]`` is
::
pragma solidity >=0.4.16 <0.6.0;
pragma solidity >=0.4.16 <0.7.0;
contract C {
function f() public pure {
@@ -190,7 +190,7 @@ Fixed size memory arrays cannot be assigned to dynamically-sized memory arrays,
::
pragma solidity >=0.4.0 <0.6.0;
pragma solidity >=0.4.0 <0.7.0;
// This will not compile.
contract C {
@@ -248,7 +248,7 @@ Array Members
::
pragma solidity >=0.4.16 <0.6.0;
pragma solidity >=0.4.16 <0.7.0;
contract ArrayContract {
uint[2**20] m_aLotOfIntegers;
@@ -347,7 +347,7 @@ shown in the following example:
::
pragma solidity >=0.4.11 <0.6.0;
pragma solidity >=0.4.11 <0.7.0;
contract CrowdFunding {
// Defines a new type with two fields.