mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
use all aliases that are in scope (to support imported aliases)
This commit is contained in:
parent
5196ae9df2
commit
bf063d1d57
5 changed files with 38 additions and 11 deletions
|
@ -500,7 +500,7 @@ pub fn canonicalize_module_defs<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
Ok(ModuleOutput {
|
||||
let output = ModuleOutput {
|
||||
scope,
|
||||
aliases,
|
||||
rigid_variables,
|
||||
|
@ -511,7 +511,9 @@ pub fn canonicalize_module_defs<'a>(
|
|||
problems: env.problems,
|
||||
lookups,
|
||||
ident_ids: env.ident_ids,
|
||||
})
|
||||
};
|
||||
|
||||
Ok(output)
|
||||
}
|
||||
(Err(runtime_error), _) => Err(runtime_error),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue