roc/crates/compiler/parse
Agus Zubiaga c617963b22
Load and can imports inside defs
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.
2024-01-20 08:39:33 -03:00
..
benches Re-improve perf of skipping spaces and comments 2022-12-11 08:43:22 -08:00
src Load and can imports inside defs 2024-01-20 08:39:33 -03:00
tests Update tests to use $(...) interpolation 2024-01-06 15:06:30 -05:00
Cargo.toml Add Src64 2023-09-06 23:12:33 -04:00