-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Suggest imports for the expected type of the underlying implicit not found error #17976
Suggest imports for the expected type of the underlying implicit not found error #17976
Conversation
93510a9
to
19b7b29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a couple of questions about my changes, what do you think about them?
tests/neg/i8827b.scala
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as i8827a
but with Scala 3 contextual abstractions.
d32415a
to
0419671
Compare
…found error We used to suggest imports for the outermost type of a chain of implicits. Now, we suggest imports for the `expectedType` of the underlying `NoMatchingImplicits`. Fixes scala#8827
0419671
to
a0dd67d
Compare
CI is green and PR ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thank you for the quick review. |
We used to suggest imports for the outermost type of a chain of implicits.
Now, we suggest imports for the
expectedType
of the underlyingNoMatchingImplicits
.Fixes #8827