mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 23:04:49 +00:00
Thread dep_idents through to LoadedModule
This commit is contained in:
parent
439caaa1ca
commit
e8fc9c5e4c
6 changed files with 30 additions and 8 deletions
|
@ -12,7 +12,7 @@ pub struct Env<'a> {
|
|||
/// are assumed to be relative to this path.
|
||||
pub home: ModuleId,
|
||||
|
||||
pub dep_idents: MutMap<ModuleId, IdentIds>,
|
||||
pub dep_idents: &'a MutMap<ModuleId, IdentIds>,
|
||||
|
||||
pub module_ids: &'a ModuleIds,
|
||||
|
||||
|
@ -40,7 +40,7 @@ pub struct Env<'a> {
|
|||
impl<'a> Env<'a> {
|
||||
pub fn new(
|
||||
home: ModuleId,
|
||||
dep_idents: MutMap<ModuleId, IdentIds>,
|
||||
dep_idents: &'a MutMap<ModuleId, IdentIds>,
|
||||
module_ids: &'a ModuleIds,
|
||||
exposed_ident_ids: IdentIds,
|
||||
) -> Env<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue