mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #3865 from ethereum/updateConstructorVersionPragmas
[MERGE WITH RELEASE 0.4.22] Update version pragmas in constructor documentation.
This commit is contained in:
commit
8be4cba570
@ -40,7 +40,7 @@ This means that cyclic creation dependencies are impossible.
|
||||
|
||||
::
|
||||
|
||||
pragma solidity >0.4.21;
|
||||
pragma solidity ^0.4.22;
|
||||
|
||||
contract OwnedToken {
|
||||
// TokenCreator is a contract type that is defined below.
|
||||
@ -989,7 +989,7 @@ default constructor: ``contructor() public {}``.
|
||||
|
||||
::
|
||||
|
||||
pragma solidity >0.4.21;
|
||||
pragma solidity ^0.4.22;
|
||||
|
||||
contract A {
|
||||
uint public a;
|
||||
|
@ -1,4 +1,4 @@
|
||||
pragma solidity >0.4.21;
|
||||
pragma solidity ^0.4.22;
|
||||
|
||||
import "./Token.sol";
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
pragma solidity >0.4.21;
|
||||
pragma solidity ^0.4.22;
|
||||
|
||||
contract owned {
|
||||
address owner;
|
||||
|
Loading…
Reference in New Issue
Block a user