aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-24 19:55:56 +0800
committerGitHub <noreply@github.com>2017-05-24 19:55:56 +0800
commite980812fabe46bb11f486bf322585ae1ce359750 (patch)
tree2b4258b1fa352e923c9e25ed9f2798c91a7099fe /libsolidity
parentcf639f48f2e7be43ac47fda6d7dec765ed0893e4 (diff)
parent604d254e8c930a48aeeb1b68264a7b113e916b0f (diff)
downloaddexon-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.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;
}