diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-02 17:41:18 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-02 17:41:18 +0800 |
commit | e4114492194e048d08ece9782ada1541629afc44 (patch) | |
tree | d0bab2b3e9b20e3335b45e6435ce4186243d8916 /CompilerStack.cpp | |
parent | 0f79ed6957c65fbe9e09ffa8f9b5e3d6dca4a210 (diff) | |
download | dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.tar dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.tar.gz dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.tar.bz2 dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.tar.lz dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.tar.xz dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.tar.zst dexon-solidity-e4114492194e048d08ece9782ada1541629afc44.zip |
More Natspec JSON export tests and better error reporting
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r-- | CompilerStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp index e25438f7..77a019b5 100644 --- a/CompilerStack.cpp +++ b/CompilerStack.cpp @@ -134,7 +134,7 @@ string const& CompilerStack::getDocumentation() if (m_documentation.empty()) { Json::Value doc; - Json::Value methods; + Json::Value methods(Json::objectValue); vector<FunctionDefinition const*> exportedFunctions = m_contractASTNode->getInterfaceFunctions(); for (FunctionDefinition const* f: exportedFunctions) |