mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Stack compiler now correctly returns a string and not a pointer
This commit is contained in:
parent
0c24dc096e
commit
80ad715764
@ -50,7 +50,7 @@ public:
|
|||||||
msg += *extra;
|
msg += *extra;
|
||||||
BOOST_FAIL(msg);
|
BOOST_FAIL(msg);
|
||||||
}
|
}
|
||||||
std::string generatedInterfaceString = *m_compilerStack.getJsonDocumentation(ABI_INTERFACE);
|
std::string generatedInterfaceString = m_compilerStack.getJsonDocumentation(ABI_INTERFACE);
|
||||||
Json::Value generatedInterface;
|
Json::Value generatedInterface;
|
||||||
m_reader.parse(generatedInterfaceString, generatedInterface);
|
m_reader.parse(generatedInterfaceString, generatedInterface);
|
||||||
Json::Value expectedInterface;
|
Json::Value expectedInterface;
|
||||||
|
@ -55,9 +55,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (_userDocumentation)
|
if (_userDocumentation)
|
||||||
generatedDocumentationString = *m_compilerStack.getJsonDocumentation(NATSPEC_USER);
|
generatedDocumentationString = m_compilerStack.getJsonDocumentation(NATSPEC_USER);
|
||||||
else
|
else
|
||||||
generatedDocumentationString = *m_compilerStack.getJsonDocumentation(NATSPEC_DEV);
|
generatedDocumentationString = m_compilerStack.getJsonDocumentation(NATSPEC_DEV);
|
||||||
Json::Value generatedDocumentation;
|
Json::Value generatedDocumentation;
|
||||||
m_reader.parse(generatedDocumentationString, generatedDocumentation);
|
m_reader.parse(generatedDocumentationString, generatedDocumentation);
|
||||||
Json::Value expectedDocumentation;
|
Json::Value expectedDocumentation;
|
||||||
|
Loading…
Reference in New Issue
Block a user