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
xfix opened this Issue Apr 22, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@xfix
Member

xfix commented Apr 22, 2013

Following snippet of code fails.

eval '#'

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

@ridiculousfish

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Apr 22, 2013

Member

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

Member

ridiculousfish commented Apr 22, 2013

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

@xfix xfix closed this Aug 18, 2013

xfix added a commit that referenced this issue Aug 18, 2013

Fix #684 by putting newline after $argv
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

This comment has been minimized.

Show comment
Hide comment
@ridiculousfish

ridiculousfish Aug 19, 2013

Member

Good fix.

Member

ridiculousfish commented Aug 19, 2013

Good fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment