Skip to content

Handle identifier followed by dual_op across line continuation #14714

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukaszsamson
Copy link
Contributor

Fixes #14713

%% Backslash followed by LF
[{op_identifier, {1, 1, _}, foo},
{dual_op, {2, 1, nil}, '+'},
{int, {2, 2, 1}, "1"}] = tokenize("foo\\\n+1"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are no longer adding tests to this file, it is very old. Perhaps we can add them as tests to Code.string_to_quoted? Or do you think it would not capture it?

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

Successfully merging this pull request may close these issues.

Tokenizer not respecting line continuation in no parens call with signed argument
2 participants