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

Emit correct occurrence role for val patterns with single binder #1824

Merged
merged 2 commits into from
Jan 30, 2019

Conversation

olafurpg
Copy link
Member

Bug discovered while upgrading Metals to v4.1.2. I updated the expect format to include the role to prevent similar issues in the future.

Single binder val patterns have `REFERENCE` role when they should have
`DEFINITION` role.
@olafurpg olafurpg merged commit 6af3bc2 into scalameta:master Jan 30, 2019
@olafurpg olafurpg deleted the role branch January 30, 2019 16:28
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

2 participants