diff options
author | chriseth <chris@ethereum.org> | 2018-03-07 02:01:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-07 02:01:25 +0800 |
commit | baa152653916ef131f0f738431cbf2fd2bbb0408 (patch) | |
tree | cd66db24e3f23b5fd54c2b15ffdeb46b436d359c /libsolidity | |
parent | 250a6bad8c2573c121968b2d212bd6d057720cf2 (diff) | |
parent | b4d38c5491fbde31dd36471ff442334cf906e180 (diff) | |
download | dexon-solidity-baa152653916ef131f0f738431cbf2fd2bbb0408.tar.gz dexon-solidity-baa152653916ef131f0f738431cbf2fd2bbb0408.tar.zst dexon-solidity-baa152653916ef131f0f738431cbf2fd2bbb0408.zip |
Merge pull request #3664 from ethereum/literalsHexUnitSmallFix
Use double quotes for suggestion about hex literals and denominations.
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 5d28e776..8279da05 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -2070,13 +2070,13 @@ void TypeChecker::endVisit(Literal const& _literal) m_errorReporter.fatalTypeError( _literal.location(), "Hexadecimal numbers cannot be used with unit denominations. " - "You can use an expression of the form '0x1234 * 1 day' instead." + "You can use an expression of the form \"0x1234 * 1 day\" instead." ); else m_errorReporter.warning( _literal.location(), "Hexadecimal numbers with unit denominations are deprecated. " - "You can use an expression of the form '0x1234 * 1 day' instead." + "You can use an expression of the form \"0x1234 * 1 day\" instead." ); } if (!_literal.annotation().type) |