Merge pull request #2289 from ethereum/astjson-fix

Fix AST JSON converter type lookup
This commit is contained in:
chriseth 2017-05-24 13:55:56 +02:00 committed by GitHub
commit e980812fab

View File

@ -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;
}