Brummel cb4162e420 Refactor discover_globals to handle patterns
The `discover_globals` function has been refactored to better handle
pattern matching within definitions. It now uses a recursive helper
function `register_pattern` to correctly process identifiers and tuple
patterns. This ensures that all declared variables within a `Def` node
are registered with their corresponding scope and virtual ID.
Additionally, support for `Expansion` nodes has been added to ensure
that any nested global definitions within them are also discovered.
2026-03-27 08:27:31 +01:00
2026-03-26 15:10:19 +01:00
2026-03-25 14:03:22 +01:00
2026-03-25 14:03:22 +01:00
2026-03-15 22:40:45 +01:00
S
Description
No description provided
6.5 MiB
Languages
Rust 100%