aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CompilerStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp
index 592f6127..d6274e2c 100644
--- a/CompilerStack.cpp
+++ b/CompilerStack.cpp
@@ -188,7 +188,7 @@ void CompilerStack::streamAssembly(ostream& _outStream, string const& _contractN
{
Contract const& contract = getContract(_contractName);
if (contract.compiler)
- contract(_contractName).compiler->streamAssembly(_outStream, _sourceCodes, _inJsonFormat);
+ contract.compiler->streamAssembly(_outStream, _sourceCodes, _inJsonFormat);
else
_outStream << "Contract not fully implemented" << endl;
}