Closure TDZ #124
Labels
blocking
These issues are blocking the checker being used in projects
checking
Issues around checking
context
Contexts (root or environment)
needs-investigation
Further information is requested
Current TDZ finding is solved for standard statements AND for functions (as well as all things function-like). (thanks to #69 these errors have positions!)
This works for conditional function calls
However as it turns out with closures, TDZ issues are non-deterministic on their reference
Half the time this leaks a reference that never gets declared. Somehow we want to catch this mistake.
Things to think about
Math.random() > 0.99
). It needs to errorthrow
events).The text was updated successfully, but these errors were encountered: