mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fix
This commit is contained in:
parent
675aed1edf
commit
0d0fd31fbf
@ -62,8 +62,6 @@ parseAnalyseAndReturnError(string const& _source, bool _reportWarnings = false)
|
||||
solAssert(Error::containsOnlyWarnings(errors), "");
|
||||
resolver.registerDeclarations(*sourceUnit);
|
||||
|
||||
resolver.registerDeclarations(*sourceUnit);
|
||||
|
||||
for (ASTPointer<ASTNode> const& node: sourceUnit->nodes())
|
||||
if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user