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

- lexer.rl: Fix handling of beginless ranges at start of line #822

Merged

Conversation

mvz
Copy link
Contributor

@mvz mvz commented Oct 8, 2021

This fixes an issue where beginless ranges at the start of a line would be interpreted as continuing an expression starting on the previous line. Unlike leading dots for method calls, .. and ... at the start of a line do not continue an expression from the previous line.

Fixes #814.

This fixes an issue where beginless ranges at the start of a line would
be interpreted as continuing an expression starting on the previous
line. Unlike leading dots for method calls, `..` and `...` at the start
of a line do not continue an expression from the previous line.
Copy link
Collaborator

@iliabylich iliabylich left a comment

Choose a reason for hiding this comment

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

👍

@iliabylich iliabylich merged commit bc8582c into whitequark:master Oct 8, 2021
@iliabylich
Copy link
Collaborator

Thanks!

@mvz mvz deleted the fix-beginless-range-at-start-of-line branch October 8, 2021 12:52
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

Successfully merging this pull request may close these issues.

Beginless ranges and line breaks
2 participants