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

match keyword error #237

Closed
heavyk opened this issue Dec 21, 2012 · 0 comments
Closed

match keyword error #237

heavyk opened this issue Dec 21, 2012 · 0 comments

Comments

@heavyk
Copy link

heavyk commented Dec 21, 2012

I had a piece of code which I copied and pasted today.
the line was match = line.split /\s+/ .pop! the error was unexpected assign. after finally changing all variable names I found out that match is a keyword. there should be some mention of not being able to assign to the match keyword, IMO -- totally low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants