remove identids from Env

This commit is contained in:
Folkert 2022-04-28 21:11:08 +02:00
parent 7fb5b23fb0
commit 992575051a
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 4 additions and 20 deletions

View file

@ -170,8 +170,8 @@ pub fn canonicalize_module_defs<'a>(
var_store: &mut VarStore,
) -> Result<ModuleOutput, RuntimeError> {
let mut can_exposed_imports = MutMap::default();
let mut scope = Scope::new(home, var_store, exposed_ident_ids.clone());
let mut env = Env::new(home, dep_idents, module_ids, exposed_ident_ids);
let mut scope = Scope::new(home, var_store, exposed_ident_ids);
let mut env = Env::new(home, dep_idents, module_ids);
let num_deps = dep_idents.len();
for (name, alias) in aliases.into_iter() {