mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-23 06:25:10 +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. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |