diff options
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r-- | CompilerStack.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp index 55ec0cb5..1301bfa5 100644 --- a/CompilerStack.cpp +++ b/CompilerStack.cpp @@ -138,6 +138,8 @@ void CompilerStack::compile(bool _optimize) for (ASTPointer<ASTNode> const& node: source->ast->getNodes()) if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get())) { + if (!contract->isFullyImplemented()) + continue; shared_ptr<Compiler> compiler = make_shared<Compiler>(_optimize); compiler->compileContract(*contract, contractBytecode); Contract& compiledContract = m_contracts[contract->getName()]; |