Handle externally supplied variables correctly in disambiguator.

This commit is contained in:
chriseth
2018-10-17 14:12:11 +02:00
parent 5e01d767d0
commit 16c2a775fd
3 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -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)