diff options
author | chriseth <chris@ethereum.org> | 2018-10-09 04:58:34 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-10-09 09:15:53 +0800 |
commit | 6a0b7759ba039e8a365566b722c462df62d732ce (patch) | |
tree | 91c9edc2b5007e71b2e42299d583f5e763174a34 /libsolidity | |
parent | 4ab2e03be3e5550a68a2fcf1608cdcb942dd8957 (diff) | |
download | dexon-solidity-6a0b7759ba039e8a365566b722c462df62d732ce.tar.gz dexon-solidity-6a0b7759ba039e8a365566b722c462df62d732ce.tar.zst dexon-solidity-6a0b7759ba039e8a365566b722c462df62d732ce.zip |
Fix pragma error suggestion.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/analysis/SyntaxChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/SyntaxChecker.cpp b/libsolidity/analysis/SyntaxChecker.cpp index 0bc20f2e..d40a00d4 100644 --- a/libsolidity/analysis/SyntaxChecker.cpp +++ b/libsolidity/analysis/SyntaxChecker.cpp @@ -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()) + |