Merge pull request #2748 from ethereum/natspec

Remove DocumentationType from natspec
This commit is contained in:
chriseth
2017-08-21 16:46:00 +02:00
committed by GitHub
6 changed files with 59 additions and 58 deletions
+2 -2
View File
@@ -51,9 +51,9 @@ public:
Json::Value generatedDocumentation;
if (_userDocumentation)
generatedDocumentation = m_compilerStack.natspec("", DocumentationType::NatspecUser);
generatedDocumentation = m_compilerStack.natspecUser("");
else
generatedDocumentation = m_compilerStack.natspec("", DocumentationType::NatspecDev);
generatedDocumentation = m_compilerStack.natspecDev("");
Json::Value expectedDocumentation;
m_reader.parse(_expectedDocumentationString, expectedDocumentation);
BOOST_CHECK_MESSAGE(