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

LazyTokenIterator: don't reset prev in undoIndent #3123

Merged
merged 2 commits into from May 15, 2023

Conversation

kitbellew
Copy link
Contributor

Instead of next(), use underlying getNextTokenRef(). Fixes #3113.

Copy link
Collaborator

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

LGTM!

@kitbellew kitbellew merged commit 1de6ce7 into scalameta:main May 15, 2023
33 checks passed
@kitbellew kitbellew deleted the 3113 branch May 15, 2023 13:16
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.

[dialect scala3] outdent expected but } found
2 participants