Scope bug with generator/comprehension/lambda inside of a function #26037
Labels
compiler:lowering
Syntax lowering (compiler front end, 2nd stage)
kind:bug
Indicates an unexpected problem or unintended behavior
needs tests
Unit tests are required for this change
The same thing happens if you replace the comprehension with a generator or even with
() -> x()
, but not with afor
loop.The text was updated successfully, but these errors were encountered: