Replies: 2 comments 2 replies
-
Hmmm, I don't think so. Could be a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
-
the only special thing i can think of for the ls | where ($it.name | str contains "foo") but afaik this is just assigned within the i suspect that this issue could be due to it not recognising the variable as closure since the following (with explicit closure-markings) works: let tmp = {||
let it = 42
print $it
}
do -c $tmp EDIT: it recognises both as |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions