diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-06 22:05:35 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-11 22:58:30 +0800 |
commit | 7ed938b95e3061ee6b1782e09abccf1b26092b53 (patch) | |
tree | 8a1f24a225519f8edd60fa6ec73d0202822228fd /test/libsolidity/AnalysisFramework.h | |
parent | fbe24da159452f8b22206b6e750174ed03b43ade (diff) | |
download | dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.tar dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.tar.gz dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.tar.bz2 dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.tar.lz dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.tar.xz dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.tar.zst dexon-solidity-7ed938b95e3061ee6b1782e09abccf1b26092b53.zip |
Change retrieveContract to take name and not index
Diffstat (limited to 'test/libsolidity/AnalysisFramework.h')
-rw-r--r-- | test/libsolidity/AnalysisFramework.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/AnalysisFramework.h b/test/libsolidity/AnalysisFramework.h index 0cdedaea..f73f06c2 100644 --- a/test/libsolidity/AnalysisFramework.h +++ b/test/libsolidity/AnalysisFramework.h @@ -59,7 +59,7 @@ protected: void printErrors(); - ContractDefinition const* retrieveContract(SourceUnit const& _source, unsigned index); + ContractDefinition const* retrieveContractByName(SourceUnit const& _source, std::string const& _name); FunctionTypePointer retrieveFunctionBySignature( ContractDefinition const& _contract, std::string const& _signature |