aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-02 21:49:13 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-02 21:49:13 +0800
commit2871663cadca8355764c64bc921b2fc6126efb2c (patch)
treecf7c9b680dfd22ae6030ac484d63ca9063bfc2fa /libsolidity/interface
parentf42a9a9408cf92258104e0839b700640f5edd06c (diff)
downloaddexon-solidity-2871663cadca8355764c64bc921b2fc6126efb2c.tar.gz
dexon-solidity-2871663cadca8355764c64bc921b2fc6126efb2c.tar.zst
dexon-solidity-2871663cadca8355764c64bc921b2fc6126efb2c.zip
Remove why3 from standard compiler
Diffstat (limited to 'libsolidity/interface')
-rw-r--r--libsolidity/interface/StandardCompiler.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/libsolidity/interface/StandardCompiler.cpp b/libsolidity/interface/StandardCompiler.cpp
index 2b5e861b..db0cbd16 100644
--- a/libsolidity/interface/StandardCompiler.cpp
+++ b/libsolidity/interface/StandardCompiler.cpp
@@ -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;
}