mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Enabling pragma with > in minimum version check
This commit is contained in:
@@ -605,8 +605,8 @@ Assume you have the following contracts you want to update declared in ``Source.
|
||||
|
||||
.. code-block:: none
|
||||
|
||||
// This will not compile
|
||||
pragma solidity >0.4.23;
|
||||
// This will not compile after 0.5.0
|
||||
pragma solidity >0.4.23 <0.5.0;
|
||||
|
||||
contract Updateable {
|
||||
function run() public view returns (bool);
|
||||
|
||||
Reference in New Issue
Block a user