roc/crates/compiler/can/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
..
helpers Fix package module resolution in inline imports 2024-04-20 12:16:37 -03:00
test_can.rs update to new interpolation syntax 2024-02-02 13:39:10 +01:00
test_suffixed.rs Merge pull request #6651 from roc-lang/fix-nesting-suffix 2024-04-19 14:53:34 -04:00