-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eval scope #4443
Comments
See #565 (comment) Still not clear on whether it's a bug or not, though. |
@ridiculousfish any thoughts on this? |
It's a bug due to eval's implementation as a function. I thought we had another issue tracking this. |
`eval` has always been implemented as a function, which was always a bit of a hack that caused some issues such as triggering the creation of a new scope. This turns `eval` into a decorator. Closes fish-shell#4443.
This should work correctly now. |
Okay, so the I think we might want to change it in |
I keep remembering I need to reply to this and then forgetting to do so. TBH, I like that |
Noted in the docs. |
Thanks, @zanchey! |
Is the following a bug or a feature?
eval
isn't explicitly documented as creating a scope.(note that this "feature" caused some consternation in the implementing of #4442)
The text was updated successfully, but these errors were encountered: