roc/crates/compiler/load_internal/tests
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
..
fixtures/build Merge branch 'main' into inline-imports 2024-04-20 12:01:11 -03:00
helpers moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
test_load.rs Fix package module resolution in inline imports 2024-04-20 12:16:37 -03:00