Skip to content

Fix #5413: Add regression tests #9142

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 1 commit into from
Jun 11, 2020

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

@nicolasstucki nicolasstucki marked this pull request as ready for review June 9, 2020 16:13
@anatoliykmetyuk anatoliykmetyuk merged commit d6d29fc into scala:master Jun 11, 2020
@anatoliykmetyuk anatoliykmetyuk deleted the fix-#5413 branch June 11, 2020 08:09
odersky added a commit to dotty-staging/dotty that referenced this pull request Aug 18, 2021
…" warning

Also, use a more precise term in the error message. Unary method generally means
something entirely different!

Generally, was it really worth it to go into so much trouble for a warning
for an edge case? The previous fix overshot, excluding things that
are OK. I still believe it would have been better to do nothing aboit scala#9142.
The time we have already spent on this and the number of code lines we use to
address the issue is in no relation to the benefit of the fix.
olsdavis pushed a commit to olsdavis/dotty that referenced this pull request Apr 4, 2022
…" warning

Also, use a more precise term in the error message. Unary method generally means
something entirely different!

Generally, was it really worth it to go into so much trouble for a warning
for an edge case? The previous fix overshot, excluding things that
are OK. I still believe it would have been better to do nothing aboit scala#9142.
The time we have already spent on this and the number of code lines we use to
address the issue is in no relation to the benefit of the fix.
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.

Wrong type inferred with Function1 and type parameter in result type
2 participants