Skip to content

Conversation

WojciechMazur
Copy link
Contributor

Backports #22855 to 3.7.0-RC2

Check trailing blank line at EOF for OUTDENT

If EOF is preceded by only spaces on the last line, do not outdent
because it will complain about alignment during an edit.

Preserve EOF token when probing arrow EOL

For REPL, `: x =>` at EOF sees an EOF in order to detect lambda eol.
@WojciechMazur WojciechMazur merged commit c9bf402 into scala:release-3.7.0 Apr 9, 2025
29 checks passed
@WojciechMazur WojciechMazur deleted the backport-3.7.0/22855 branch April 9, 2025 11:37
@WojciechMazur WojciechMazur added this to the 3.7.0 milestone May 1, 2025
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.

2 participants