mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
[test] AnalysisFramework's instance of CompilerStack to be lazily instanciated.
This commit is contained in:
committed by
chriseth
parent
94053c9a52
commit
862d798047
@@ -436,7 +436,7 @@ BOOST_AUTO_TEST_CASE(getter_is_memory_type)
|
||||
)";
|
||||
CHECK_SUCCESS_NO_WARNINGS(text);
|
||||
// Check that the getters return a memory strings, not a storage strings.
|
||||
ContractDefinition const& c = dynamic_cast<ContractDefinition const&>(*m_compiler.ast("").nodes().at(1));
|
||||
ContractDefinition const& c = dynamic_cast<ContractDefinition const&>(*compiler().ast("").nodes().at(1));
|
||||
BOOST_CHECK(c.interfaceFunctions().size() == 2);
|
||||
for (auto const& f: c.interfaceFunctions())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user