diff options
author | LianaHus <liana@ethdev.com> | 2015-10-15 18:16:10 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-10-15 18:16:10 +0800 |
commit | 0d0fd31fbf41ea7c2fe3923a645a012026f314d4 (patch) | |
tree | de86db9e67d74af1e1464226a2fbc976c1ee5b0d /test/libsolidity | |
parent | 675aed1edfcff1cf7cd68cc92582d987820e4729 (diff) | |
download | dexon-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/libsolidity')
-rw-r--r-- | test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 |
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())) { |