mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
![]() After parsing a module, we now recursively traverse the tree to find all imports inside Defs, not just the top-level ones. Previously, imported modules were available in the entire file, but that's no longer the case. Therefore, Scope now keeps track of imported modules and Env::qualified_lookup checks whether a module is available in the provided scope. Note: Unused import warnings are still global and need to be updated. |
||
---|---|---|
.. | ||
fixtures/build | ||
helpers | ||
test_load.rs |