roc/crates/compiler/problem
Agus Zubiaga 1f347f6ca1
Fix package module resolution in inline imports
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.
2024-04-20 12:16:37 -03:00
..
src Fix package module resolution in inline imports 2024-04-20 12:16:37 -03:00
Cargo.toml run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00