mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixes after rebase
This commit is contained in:
parent
d414469014
commit
7b81a65bc6
@ -339,7 +339,7 @@ bool ASTJsonExporter::visit(UsingForDirective const& _node)
|
||||
functionNode["function"] = toJson(*function);
|
||||
if (op.has_value())
|
||||
functionNode["operator"] = string(TokenTraits::toString(*op));
|
||||
functionList.append(move(functionNode));
|
||||
functionList.append(std::move(functionNode));
|
||||
}
|
||||
attributes.emplace_back("functionList", std::move(functionList));
|
||||
}
|
||||
|
@ -405,7 +405,7 @@ ASTPointer<UsingForDirective> ASTJsonImporter::createUsingForDirective(Json::Val
|
||||
return createASTNode<UsingForDirective>(
|
||||
_node,
|
||||
std::move(functions),
|
||||
move(operators),
|
||||
std::move(operators),
|
||||
!_node.isMember("libraryName"),
|
||||
_node["typeName"].isNull() ? nullptr : convertJsonToASTNode<TypeName>(_node["typeName"]),
|
||||
memberAsBool(_node, "global")
|
||||
|
@ -24,3 +24,4 @@ contract C {
|
||||
|
||||
// ----
|
||||
// test() -> 3
|
||||
// gas legacy: 119695
|
||||
|
Loading…
Reference in New Issue
Block a user