use snapshots for inner scopes

This commit is contained in:
Folkert 2022-04-28 20:01:01 +02:00
parent 70844b1218
commit 5a613db7b6
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 54 additions and 51 deletions

View file

@ -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,
);