diff options
author | chriseth <c@ethdev.com> | 2017-03-06 20:31:57 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-03-06 20:37:57 +0800 |
commit | f521fd7b191ef59ddf54da099c11e70528e488fd (patch) | |
tree | 777c941a947908e694f7be3559c36a5fb179e541 /libsolidity/analysis | |
parent | 5069c58a4be58d406585873a0d86852e17f9f89a (diff) | |
download | dexon-solidity-f521fd7b191ef59ddf54da099c11e70528e488fd.tar.gz dexon-solidity-f521fd7b191ef59ddf54da099c11e70528e488fd.tar.zst dexon-solidity-f521fd7b191ef59ddf54da099c11e70528e488fd.zip |
Mention way to remove warning.
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index ff55ef1f..5426cd17 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1580,7 +1580,11 @@ void TypeChecker::endVisit(Literal const& _literal) return; } else - warning(_literal.location(), "This looks like an address but has an invalid checksum."); + warning( + _literal.location(), + "This looks like an address but has an invalid checksum. " + "If this is not used as an address, please prepend '00'." + ); } _literal.annotation().type = Type::forLiteral(_literal); if (!_literal.annotation().type) |