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
+5 -5
View File
@@ -76,7 +76,7 @@ idea is that assembly libraries will be used to enhance the Solidity language.
.. code::
pragma solidity >=0.4.0 <0.6.0;
pragma solidity >=0.4.0 <0.7.0;
library GetCode {
function at(address _addr) public view returns (bytes memory o_code) {
@@ -101,7 +101,7 @@ efficient code, for example:
.. code::
pragma solidity >=0.4.16 <0.6.0;
pragma solidity >=0.4.16 <0.7.0;
library VectorSum {
// This function is less efficient because the optimizer currently fails to
@@ -394,7 +394,7 @@ Local Solidity variables are available for assignments, for example:
.. code::
pragma solidity >=0.4.11 <0.6.0;
pragma solidity >=0.4.11 <0.7.0;
contract C {
uint b;
@@ -433,7 +433,7 @@ be just ``0``, but it can also be a complex functional-style expression.
.. code::
pragma solidity >=0.4.16 <0.6.0;
pragma solidity >=0.4.16 <0.7.0;
contract C {
function f(uint x) public view returns (uint b) {
@@ -690,7 +690,7 @@ Example:
We will follow an example compilation from Solidity to assembly.
We consider the runtime bytecode of the following Solidity program::
pragma solidity >=0.4.16 <0.6.0;
pragma solidity >=0.4.16 <0.7.0;
contract C {
function f(uint x) public pure returns (uint y) {