mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not return the stream in asssemblyStream
This commit is contained in:
1 parent
a535a8b06e
commit
50570c6c79
6 files changed
+9
-12
No files matched your search
@@ -347,15 +347,14 @@ eth::LinkerObject const& CompilerStack::cloneObject(string const& _contractName)
|
||||
return contract(_contractName).cloneObject;
|
||||
}
|
||||
|
||||
ostream& CompilerStack::assemblyStream(ostream& _outStream, string const& _contractName, StringMap _sourceCodes) const
|
||||
void CompilerStack::assemblyStream(ostream& _outStream, string const& _contractName, StringMap _sourceCodes) const
|
||||
{
|
||||
Contract const& currentContract = contract(_contractName);
|
||||
if (currentContract.compiler)
|
||||
return currentContract.compiler->assemblyStream(_outStream, _sourceCodes);
|
||||
currentContract.compiler->assemblyStream(_outStream, _sourceCodes);
|
||||
else
|
||||
{
|
||||
_outStream << "Contract not fully implemented" << endl;
|
||||
return _outStream;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user