Skip to content

Apply no warn attachment to binds #6473

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

Merged
merged 2 commits into from
Apr 3, 2018
Merged

Conversation

som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Mar 27, 2018

The warning in TypeDiagnostics checks for
an attachment where a variable is introduced.

This tweaks Adriaan's tweak.

Note the flag wasn't actually on for the test.

@adriaanm @SethTisue Maybe this is a good candidate for 2.12.6

The warning in TypeDiagnostics checks for
an attachment where a variable is introduced.
Simple rename to `NoWarnAttachment`.

It is still used selectively to turn off unused
warning for pattern variables.
@SethTisue SethTisue modified the milestones: 2.12.7, 2.12.6 Mar 27, 2018
@SethTisue
Copy link
Member

I'll put it on the 2.12.6 milestone, but I won't be surprised if Adriaan says no...

@som-snytt
Copy link
Contributor Author

...warn is a good name for that attachment.

He found the previous name irksome.

Copy link
Contributor

@adriaanm adriaanm left a comment

Choose a reason for hiding this comment

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

The tweak tweaked! Also, thanks for fixing my flags and massaging that moniker.

@som-snytt
Copy link
Contributor Author

Thanks for not being miffed about my shoddy review when you stepped in to redress the regress.

@adriaanm
Copy link
Contributor

No worries. Thanks for all the delicious omelettes.

@adriaanm adriaanm merged commit c9c88fa into scala:2.12.x Apr 3, 2018
@som-snytt som-snytt deleted the issue/refute branch April 3, 2018 16:48
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.

4 participants