mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
More Natspec JSON export tests and better error reporting
This commit is contained in:
parent
0f79ed6957
commit
e411449219
@ -134,7 +134,7 @@ string const& CompilerStack::getDocumentation()
|
|||||||
if (m_documentation.empty())
|
if (m_documentation.empty())
|
||||||
{
|
{
|
||||||
Json::Value doc;
|
Json::Value doc;
|
||||||
Json::Value methods;
|
Json::Value methods(Json::objectValue);
|
||||||
|
|
||||||
vector<FunctionDefinition const*> exportedFunctions = m_contractASTNode->getInterfaceFunctions();
|
vector<FunctionDefinition const*> exportedFunctions = m_contractASTNode->getInterfaceFunctions();
|
||||||
for (FunctionDefinition const* f: exportedFunctions)
|
for (FunctionDefinition const* f: exportedFunctions)
|
||||||
|
Loading…
Reference in New Issue
Block a user