mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
use snapshots for inner scopes
This commit is contained in:
parent
70844b1218
commit
5a613db7b6
4 changed files with 54 additions and 51 deletions
|
@ -285,11 +285,11 @@ pub fn canonicalize_module_defs<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
let (defs, mut scope, output, symbols_introduced) = canonicalize_defs(
|
||||
let (defs, output, symbols_introduced) = canonicalize_defs(
|
||||
&mut env,
|
||||
Output::default(),
|
||||
var_store,
|
||||
scope,
|
||||
&mut scope,
|
||||
&desugared,
|
||||
PatternType::TopLevelDef,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue