Properly check variable assignment #36
Reference in New Issue
Block a user
Delete Branch "feat/variable-is-defined"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.