Properly check variable assignment #36

Merged
HEL merged 4 commits from feat/variable-is-defined into main 2026-07-08 17:30:40 +00:00
Owner

This PR fixes the resolver to properly check if variables are defined when referenced. It also fixes leaks from for loops
The type checker might still emit conservative warnings for variable it is unsure about whether they're defined, but it will emit errors when it is sure that at least one path doesn't define a value.

This PR fixes the resolver to properly check if variables are defined when referenced. It also fixes leaks from for loops The type checker might still emit conservative warnings for variable it is unsure about whether they're defined, but it will emit errors when it is sure that at least one path doesn't define a value.
HEL self-assigned this 2026-07-08 17:28:46 +00:00
HEL added 3 commits 2026-07-08 17:28:47 +00:00
HEL added 1 commit 2026-07-08 17:30:21 +00:00
chore: add new parameter to docstring
All checks were successful
Tests / tests (pull_request) Successful in 5s
4ed78d3d7e
HEL merged commit 62612bd8db into main 2026-07-08 17:30:40 +00:00
HEL deleted branch feat/variable-is-defined 2026-07-08 17:30:40 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HEL/midas#36