mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Include public state variables' base functions in the AST.
This commit is contained in:
parent
1fb62b91d2
commit
f1e7bec11d
@ -386,6 +386,8 @@ bool ASTJsonConverter::visit(VariableDeclaration const& _node)
|
||||
};
|
||||
if (m_inEvent)
|
||||
attributes.emplace_back("indexed", _node.isIndexed());
|
||||
if (!_node.annotation().baseFunctions.empty())
|
||||
attributes.emplace_back(make_pair("baseFunctions", getContainerIds(_node.annotation().baseFunctions, true)));
|
||||
setJsonNode(_node, "VariableDeclaration", std::move(attributes));
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user