mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Pass var_store
into desugar_expr
so that desugaring may generate fresh vars
This commit is contained in:
parent
dc5c8aeaf9
commit
a16f757164
5 changed files with 412 additions and 86 deletions
|
@ -170,6 +170,7 @@ pub fn can_expr_with<'a>(
|
|||
// rules multiple times unnecessarily.
|
||||
let loc_expr = desugar::desugar_expr(
|
||||
arena,
|
||||
&mut var_store,
|
||||
&loc_expr,
|
||||
expr_str,
|
||||
&mut None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue