mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Natspec: change events() to interfaceEvents()
This commit is contained in:
parent
a1c33249f1
commit
849bae2aa7
@ -82,7 +82,7 @@ Json::Value Natspec::userDocumentation(ContractDefinition const& _contractDef)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
for (auto const& event: _contractDef.events())
|
for (auto const& event: _contractDef.interfaceEvents())
|
||||||
{
|
{
|
||||||
string value = extractDoc(event->annotation().docTags, "notice");
|
string value = extractDoc(event->annotation().docTags, "notice");
|
||||||
if (!value.empty())
|
if (!value.empty())
|
||||||
|
Loading…
Reference in New Issue
Block a user