match keyword error #237
Closed
match keyword error #237
Comments
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 thatmatch
is a keyword. there should be some mention of not being able to assign to the match keyword, IMO -- totally low priority.The text was updated successfully, but these errors were encountered: