mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 05:24:15 +00:00
We were still passing `ModuleIds` from `load` to `can`, but now that imports can appear in any scope, we don't know which package an unqualified module name belongs to from the top level. We now pass `PackageModuleIds` instead and keep a Map of `ModuleName` to `ModuleId` in `Scope`. This also allow us to import multiple modules with the same name from different packages as long as a unique alias is provided. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||