roc/crates/compiler/load
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 Use roc_target over target_lexicon 2024-03-31 10:50:26 -07:00
tests Fix package module resolution in inline imports 2024-04-20 12:16:37 -03:00
build.rs Use roc_target over target_lexicon 2024-03-31 10:50:26 -07:00
Cargo.toml split test_utils 2024-04-15 20:30:34 +10:00