aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-23 02:36:41 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-24 06:12:40 +0800
commit604d254e8c930a48aeeb1b68264a7b113e916b0f (patch)
tree821b4ba76f2cf42e1143ee35b1703454a2007c63 /libsolidity
parent14b22150a1e3ad66cdbed70bcfacb5487f66aef8 (diff)
downloaddexon-solidity-604d254e8c930a48aeeb1b68264a7b113e916b0f.tar.gz
dexon-solidity-604d254e8c930a48aeeb1b68264a7b113e916b0f.tar.zst
dexon-solidity-604d254e8c930a48aeeb1b68264a7b113e916b0f.zip
Fix AST JSON converter type lookup
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/ast/ASTJsonConverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/ASTJsonConverter.cpp b/libsolidity/ast/ASTJsonConverter.cpp
index 40c552a3..a7b61c4e 100644
--- a/libsolidity/ast/ASTJsonConverter.cpp
+++ b/libsolidity/ast/ASTJsonConverter.cpp
@@ -178,7 +178,7 @@ Json::Value ASTJsonConverter::inlineAssemblyIdentifierToJson(pair<assembly::Iden
tuple["declaration"] = idOrNull(_info.second.declaration);
tuple["isSlot"] = Json::Value(_info.second.isSlot);
tuple["isOffset"] = Json::Value(_info.second.isOffset);
- tuple["valueSize"] = _info.second.valueSize;
+ tuple["valueSize"] = Json::Value(Json::LargestUInt(_info.second.valueSize));
return tuple;
}