a78e72d074987c48728d229e388e118076f2d335
This commit refactors the Binder implementation to better align with the updated scope structure. Key changes include: - Introducing `ExprContext` to distinguish between statement and expression contexts. - Modifying `define_variable` to handle both global and local scope definitions more robustly. - Updating `resolve_variable` to correctly handle upvalue captures, especially for global addresses. - Adjusting `bind` and related functions to use the new `ExprContext`. - Updating the refactoring log to reflect completed phases.
Description
No description provided
Languages
Rust
100%