mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix pragma error suggestion.
This commit is contained in:
parent
4ab2e03be3
commit
6a0b7759ba
@ -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