mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Handle externally supplied variables correctly in disambiguator.
This commit is contained in:
@@ -86,7 +86,7 @@ pair<shared_ptr<Block>, shared_ptr<assembly::AsmAnalysisInfo>> dev::yul::test::p
|
||||
assembly::Block dev::yul::test::disambiguate(string const& _source, bool _yul)
|
||||
{
|
||||
auto result = parse(_source, _yul);
|
||||
return boost::get<Block>(Disambiguator(*result.second)(*result.first));
|
||||
return boost::get<Block>(Disambiguator(*result.second, {})(*result.first));
|
||||
}
|
||||
|
||||
string dev::yul::test::format(string const& _source, bool _yul)
|
||||
|
||||
Reference in New Issue
Block a user