diff options
author | chriseth <chris@ethereum.org> | 2017-05-24 19:55:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-24 19:55:56 +0800 |
commit | e980812fabe46bb11f486bf322585ae1ce359750 (patch) | |
tree | 2b4258b1fa352e923c9e25ed9f2798c91a7099fe /libsolidity | |
parent | cf639f48f2e7be43ac47fda6d7dec765ed0893e4 (diff) | |
parent | 604d254e8c930a48aeeb1b68264a7b113e916b0f (diff) | |
download | dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.tar dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.tar.gz dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.tar.bz2 dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.tar.lz dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.tar.xz dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.tar.zst dexon-solidity-e980812fabe46bb11f486bf322585ae1ce359750.zip |
Merge pull request #2289 from ethereum/astjson-fix
Fix AST JSON converter type lookup
Diffstat (limited to 'libsolidity')
-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; } |