Skip to content
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

You cannot eval '#' #684

Closed
KamilaBorowska opened this issue Apr 22, 2013 · 2 comments
Closed

You cannot eval '#' #684

KamilaBorowska opened this issue Apr 22, 2013 · 2 comments
Milestone

Comments

@KamilaBorowska
Copy link
Contributor

Following snippet of code fails.

eval '#'

This is because eval has wrapper without actual newline before end.

@ridiculousfish
Copy link
Member

Yeah, eval doesn't work so well as a function.

KamilaBorowska pushed a commit that referenced this issue Aug 18, 2013
It's rather hacky, but it sort of works. (but then, this makes fish
compare to PHP (but PHP doesn't put that newline), so perhaps I
shouldn't do that - http://git.io/GFurbg)
@ridiculousfish
Copy link
Member

Good fix.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants