aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2017-01-25 00:38:06 +0800
committerchriseth <c@ethdev.com>2017-01-25 06:37:48 +0800
commit1316bb75651ea365c5246277d2dfd3d366be9070 (patch)
tree8c46bf1a45ca85bcd1da2d8ef8b2556e22cf5634 /libsolidity/codegen
parentba9a04500217e301bec63cab4e0c0f1d9322646d (diff)
downloaddexon-solidity-1316bb75651ea365c5246277d2dfd3d366be9070.tar.gz
dexon-solidity-1316bb75651ea365c5246277d2dfd3d366be9070.tar.zst
dexon-solidity-1316bb75651ea365c5246277d2dfd3d366be9070.zip
Warn about invalid checksums of addresses.
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/ExpressionCompiler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp
index fe0eeb1c..bda4e04d 100644
--- a/libsolidity/codegen/ExpressionCompiler.cpp
+++ b/libsolidity/codegen/ExpressionCompiler.cpp
@@ -1308,6 +1308,7 @@ void ExpressionCompiler::endVisit(Literal const& _literal)
{
case Type::Category::RationalNumber:
case Type::Category::Bool:
+ case Type::Category::Integer:
m_context << type->literalValue(&_literal);
break;
case Type::Category::StringLiteral: