mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
15e4a5fc30
@ -279,7 +279,7 @@ groupings of expressions.
|
||||
|
||||
::
|
||||
|
||||
pragma solidity >0.4.23 <0.5.0;
|
||||
pragma solidity >0.4.23 <0.6.0;
|
||||
|
||||
contract C {
|
||||
uint[] data;
|
||||
|
@ -173,7 +173,7 @@ situation.
|
||||
|
||||
If you do not want to throw, you can return a pair::
|
||||
|
||||
pragma solidity >0.4.23 <0.5.0;
|
||||
pragma solidity >0.4.23 <0.6.0;
|
||||
|
||||
contract C {
|
||||
uint[] counters;
|
||||
|
@ -389,7 +389,7 @@ high or low invalid bids.
|
||||
|
||||
::
|
||||
|
||||
pragma solidity >0.4.23 <0.5.0;
|
||||
pragma solidity >0.4.23 <0.6.0;
|
||||
|
||||
contract BlindAuction {
|
||||
struct Bid {
|
||||
|
@ -53,7 +53,7 @@ void SyntaxChecker::endVisit(SourceUnit const& _sourceUnit)
|
||||
SemVerVersion recommendedVersion{string(VersionString)};
|
||||
if (!recommendedVersion.isPrerelease())
|
||||
errorString +=
|
||||
"Consider adding \"pragma solidity ^" +
|
||||
" Consider adding \"pragma solidity ^" +
|
||||
to_string(recommendedVersion.major()) +
|
||||
string(".") +
|
||||
to_string(recommendedVersion.minor()) +
|
||||
|
Loading…
Reference in New Issue
Block a user