aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLianaHus <liana@ethdev.com>2015-10-15 18:16:10 +0800
committerLianaHus <liana@ethdev.com>2015-10-15 18:16:10 +0800
commit0d0fd31fbf41ea7c2fe3923a645a012026f314d4 (patch)
treede86db9e67d74af1e1464226a2fbc976c1ee5b0d /test
parent675aed1edfcff1cf7cd68cc92582d987820e4729 (diff)
downloaddexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.tar
dexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.tar.gz
dexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.tar.bz2
dexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.tar.lz
dexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.tar.xz
dexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.tar.zst
dexon-solidity-0d0fd31fbf41ea7c2fe3923a645a012026f314d4.zip
fix
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp2
1 files changed, 0 insertions, 2 deletions
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<ASTNode> const& node: sourceUnit->nodes())
if (ContractDefinition* contract = dynamic_cast<ContractDefinition*>(node.get()))
{