it
is somehow a special variable in closure (since 0.92)
#12690
Labels
🐛 bug
Something isn't working
regression
Something that worked does not work anymore.
scoping/name-resolution
How Nu finds which variables/functions are in scope and to what they are bound
Describe the bug
See more info in discussion link.
Discussed in #12440
Originally posted by wdv4758h April 7, 2024
With 0.92, it seems that
it
is treated differently.This print 42 in 0.91, but gets error in 0.92.
errors in 0.92:
This print 42 in both 0.91 and 0.92.
How to reproduce
See above code.
Expected behavior
Works without error.
Screenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: