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

Fix lookahead logic in Scanner #14562

Merged
merged 1 commit into from Feb 25, 2022
Merged

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Feb 25, 2022

Executing lookaheads/reset pairs from the same position caused a token to be lost.

Fixes problem observed in #14561

Executing lookaheads/reset pairs from the same position caused a token to be lost.
Copy link
Contributor

@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!

@odersky odersky merged commit 0b3dd14 into scala:main Feb 25, 2022
@odersky odersky deleted the fix-scanner-lookahead branch February 25, 2022 12:53
@Kordyjan Kordyjan added this to the 3.1.3 milestone Aug 1, 2023
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.

None yet

3 participants