diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-28 23:59:34 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-29 00:01:55 +0800 |
commit | 06fe61f89bc3f576176a665b851d9b95f9175618 (patch) | |
tree | 6ceffc7d88e5a7e6dd9118520c9f0d4ed156574b /libsolidity/analysis/TypeChecker.cpp | |
parent | 8b0c866f025f3b48db36b0e48451062806a1ab06 (diff) | |
download | dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.tar dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.tar.gz dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.tar.bz2 dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.tar.lz dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.tar.xz dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.tar.zst dexon-solidity-06fe61f89bc3f576176a665b851d9b95f9175618.zip |
Rename to isHexNumber()
Diffstat (limited to 'libsolidity/analysis/TypeChecker.cpp')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 436d960b..1563467c 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1886,7 +1886,7 @@ void TypeChecker::expectType(Expression const& _expression, Type const& _expecte { auto literal = dynamic_cast<Literal const*>(&_expression); - if (literal && !literal->hasHexPrefix()) + if (literal && !literal->isHexNumber()) m_errorReporter.warning( _expression.location(), "Decimal literal assigned to bytesXX variable will be left-aligned. " |