Michael Schimmel be2bef373f Refactor scope handling and immutability
Introduces `fixed_scope_idx` to `Binder` and `Environment` to track
immutable scopes.
This allows enforcing that definitions (`def`) cannot occur in scopes
that are considered fixed or immutable, such as the global scope or the
initial bootstrap scope.
The `FunctionCompiler` is updated to use `fixed_scope_idx` and `is_root`
to determine scope immutability.
2026-03-12 11:22:40 +01:00
2026-02-22 09:08:16 +01:00
2026-02-22 09:08:16 +01:00
2026-03-06 11:35:18 +01:00
S
Description
No description provided
6.5 MiB
Languages
Rust 100%