aboutsummaryrefslogtreecommitdiffstats
path: root/docs/assembly.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-26 03:04:13 +0800
committerGitHub <noreply@github.com>2018-09-26 03:04:13 +0800
commit56eb9dd47fb413f243f89f5010badeccba0fbce9 (patch)
tree8406ab12c52b9de8669713856198faed10303ec4 /docs/assembly.rst
parentfc6eee02806ad007992c93cd90f7ce7bdd28556c (diff)
parente3e9ce53d7c8d5c1228ad7165660c8cb014b0f36 (diff)
downloaddexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar
dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.gz
dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.bz2
dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.lz
dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.xz
dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.tar.zst
dexon-solidity-56eb9dd47fb413f243f89f5010badeccba0fbce9.zip
Merge pull request #4193 from ethereum/050-version
Set version to 0.5.0-develop
Diffstat (limited to 'docs/assembly.rst')
-rw-r--r--docs/assembly.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/assembly.rst b/docs/assembly.rst
index 90bfa1f1..5d723645 100644
--- a/docs/assembly.rst
+++ b/docs/assembly.rst
@@ -67,7 +67,7 @@ idea is that assembly libraries will be used to enhance the Solidity language.
.. code::
- pragma solidity ^0.4.0;
+ pragma solidity >=0.4.0 <0.6.0;
library GetCode {
function at(address _addr) public view returns (bytes memory o_code) {
@@ -92,7 +92,7 @@ efficient code, for example:
.. code::
- pragma solidity ^0.4.16;
+ pragma solidity >=0.4.16 <0.6.0;
library VectorSum {
// This function is less efficient because the optimizer currently fails to
@@ -381,7 +381,7 @@ Local Solidity variables are available for assignments, for example:
.. code::
- pragma solidity ^0.4.11;
+ pragma solidity >=0.4.11 <0.6.0;
contract C {
uint b;
@@ -420,7 +420,7 @@ be just ``0``, but it can also be a complex functional-style expression.
.. code::
- pragma solidity ^0.4.16;
+ pragma solidity >=0.4.16 <0.6.0;
contract C {
function f(uint x) public view returns (uint b) {
@@ -685,7 +685,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;
+ pragma solidity >=0.4.16 <0.6.0;
contract C {
function f(uint x) public pure returns (uint y) {