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

ScannerTokens: yet another leading infix fix #3606

Merged
merged 2 commits into from Mar 6, 2024

Conversation

kitbellew
Copy link
Contributor

  • first, match HSpace instead of Whitespace, to exclude LFLF
  • second, on double EOL, return No instead of InvalidArg (which is used
    to indicate incorrectly indented infix arguments).

Fixes #3605.

- first, match HSpace instead of Whitespace, to exclude LFLF
- second, on double EOL, return No instead of InvalidArg (which is used
  to indicate incorrectly indented infix arguments).
@kitbellew kitbellew merged commit 727c59c into scalameta:main Mar 6, 2024
24 checks passed
@kitbellew kitbellew deleted the 3605 branch March 6, 2024 15:18
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.

[4.9.1] illegal start of simple expression
2 participants