We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following heredoc is wrongly parsed. It looks like the single quotes have no effect.
x = <<'NO_INTERPOLATION' This should not be interpolated #{interpolation} NO_INTERPOLATION
program [0, 0] - [4, 0]) assignment [0, 0] - [0, 24]) left: identifier [0, 0] - [0, 1]) right: heredoc_beginning [0, 4] - [0, 24]) heredoc_body [0, 24] - [2, 16]) interpolation [1, 32] - [1, 48]) identifier [1, 34] - [1, 47]) heredoc_end [2, 0] - [2, 16])
I think it should be
program [0, 0] - [4, 0]) assignment [0, 0] - [0, 24]) left: identifier [0, 0] - [0, 1]) right: heredoc_beginning [0, 4] - [0, 24]) heredoc_body [0, 24] - [2, 16]) heredoc_end [2, 0] - [2, 16])
The text was updated successfully, but these errors were encountered:
@maxbrunsfeld
Sorry, something went wrong.
How on earth is Ruby so dang complicated? 😭🥴
@patrickt You think this is complicated, what about this other one ;-) #148
No branches or pull requests
The following heredoc is wrongly parsed. It looks like the single quotes have no effect.
I think it should be
The text was updated successfully, but these errors were encountered: