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

Router: modify select-like detection for comments #4211

Merged
merged 2 commits into from
Sep 3, 2024

Conversation

kitbellew
Copy link
Collaborator

Unfortunately, checking the owner of a comment is not reliable as the parser deals only with positions of non-trivial tokens. Let's instead simply look for the dot which separates components of a select. Helps with #4133.

Unfortunately, checking the owner of a comment is not reliable as the
parser deals only with positions of non-trivial tokens. Let's instead
simply look for the dot which separates components of a select.
@kitbellew kitbellew merged commit aa64c78 into scalameta:main Sep 3, 2024
9 checks passed
@kitbellew kitbellew deleted the 4133_63 branch September 3, 2024 19:50
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.

1 participant