Remove why3 from standard compiler

This commit is contained in:
Alex Beregszaszi
2017-05-02 14:49:13 +01:00
parent f42a9a9408
commit 2871663cad
2 changed files with 4 additions and 31 deletions
@@ -425,30 +425,6 @@ Json::Value StandardCompiler::compileInternal(Json::Value const& _input)
}
output["contracts"] = contractsOutput;
{
ErrorList formalErrors;
if (m_compilerStack.prepareFormalAnalysis(&formalErrors))
output["why3"] = m_compilerStack.formalTranslation();
for (auto const& error: formalErrors)
{
auto err = dynamic_pointer_cast<Error const>(error);
errors.append(formatErrorWithException(
*error,
err->type() == Error::Type::Warning,
err->typeName(),
"general",
"",
scannerFromSourceName
));
}
// FIXME!!
if (!formalErrors.empty())
output["errors"] = errors;
}
return output;
}