aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-17 18:49:45 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-26 22:05:16 +0800
commit6848199b66d9cadae901f71dcf944fe9aa927eeb (patch)
tree3fb478a531be2eddae472ef8100f6eed9e75ba74 /test/libsolidity
parentfa5a7efb45de72d0a83e2e0bdb9b967f76f0c070 (diff)
downloaddexon-solidity-6848199b66d9cadae901f71dcf944fe9aa927eeb.tar.gz
dexon-solidity-6848199b66d9cadae901f71dcf944fe9aa927eeb.tar.zst
dexon-solidity-6848199b66d9cadae901f71dcf944fe9aa927eeb.zip
Add CompilerStack::setLibraries
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/SolidityExecutionFramework.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/libsolidity/SolidityExecutionFramework.h b/test/libsolidity/SolidityExecutionFramework.h
index 03e3a881..6a13423b 100644
--- a/test/libsolidity/SolidityExecutionFramework.h
+++ b/test/libsolidity/SolidityExecutionFramework.h
@@ -56,7 +56,8 @@ public:
std::string sourceCode = "pragma solidity >=0.0;\n" + _sourceCode;
m_compiler.reset(false);
m_compiler.addSource("", sourceCode);
- if (!m_compiler.compile(m_optimize, m_optimizeRuns, _libraryAddresses))
+ m_compiler.setLibraries(_libraryAddresses);
+ if (!m_compiler.compile(m_optimize, m_optimizeRuns))
{
for (auto const& error: m_compiler.errors())
SourceReferenceFormatter::printExceptionInformation(