From 0d0fd31fbf41ea7c2fe3923a645a012026f314d4 Mon Sep 17 00:00:00 2001 From: LianaHus Date: Thu, 15 Oct 2015 12:16:10 +0200 Subject: fix --- test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'test') diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 01a65cd9..24f19143 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -62,8 +62,6 @@ parseAnalyseAndReturnError(string const& _source, bool _reportWarnings = false) solAssert(Error::containsOnlyWarnings(errors), ""); resolver.registerDeclarations(*sourceUnit); - resolver.registerDeclarations(*sourceUnit); - for (ASTPointer const& node: sourceUnit->nodes()) if (ContractDefinition* contract = dynamic_cast(node.get())) { -- cgit v1.2.3