Merge remote-tracking branch 'origin/develop' into breaking

This commit is contained in:
chriseth
2020-12-14 11:33:40 +01:00
112 changed files with 950 additions and 226 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ Not all types for constants and immutables are implemented at this time. The onl
::
// SPDX-License-Identifier: GPL-3.0
pragma solidity >0.7.2 <0.9.0;
pragma solidity >=0.7.4;
uint constant X = 32**22 + 8;
+1 -1
View File
@@ -83,7 +83,7 @@ registering with a username and password, all you need is an Ethereum keypair.
::
// SPDX-License-Identifier: GPL-3.0
pragma solidity >0.5.99 <0.9.0;
pragma solidity >=0.7.0 <0.9.0;
contract Coin {
// The keyword "public" makes variables
+1 -1
View File
@@ -49,7 +49,7 @@ The following example shows a contract and a function using all available tags.
.. code:: Solidity
// SPDX-License-Identifier: GPL-3.0
pragma solidity >0.6.10 <0.9.0;
pragma solidity >=0.6.12 <0.9.0;
/// @title A simulator for trees
/// @author Larry A. Gardner
+4
View File
@@ -1065,6 +1065,10 @@ No::
and in ``Congress.sol``::
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.7.0;
import "./owned.sol";
+1 -1
View File
@@ -243,7 +243,7 @@ individual elements:
::
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.0 <0.9.0;
pragma solidity >=0.4.16 <0.9.0;
contract C {
function f() public pure {