diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-23 02:36:41 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-24 06:12:40 +0800 |
commit | 604d254e8c930a48aeeb1b68264a7b113e916b0f (patch) | |
tree | 821b4ba76f2cf42e1143ee35b1703454a2007c63 | |
parent | 14b22150a1e3ad66cdbed70bcfacb5487f66aef8 (diff) | |
download | dexon-solidity-604d254e8c930a48aeeb1b68264a7b113e916b0f.tar.gz dexon-solidity-604d254e8c930a48aeeb1b68264a7b113e916b0f.tar.zst dexon-solidity-604d254e8c930a48aeeb1b68264a7b113e916b0f.zip |
Fix AST JSON converter type lookup
-rw-r--r-- | libsolidity/ast/ASTJsonConverter.cpp | 2 |
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; } |