You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension method f will never be selected from type<none>
because <none> already has a member with the same name and compatible parameter types.
deff:String="S"
Expectation
The warning should not reference a type as <none>.
The text was updated successfully, but these errors were encountered:
Fixesscala#22705Fixesscala#22706Fixesscala#22727
Follow-up to scala#22502 by inserting a
`dealias` when arriving at `target` type.
Refactored the body of `hidden` to make it easier to read. Adjusted the
doc for the same reason.
As a reminder to self, the original reason for special handling of
aliases was due to subclassing, but overrides are excluded. (One could
restore that warning for edge cases.)
The long doc explaining the handling of leading implicits is moved to
the end (as an appendix).
Despite best efforts, I was unable to make the doc longer than the code.
[Cherry-picked d362492]
tgodzik
pushed a commit
to scala/scala3-lts
that referenced
this issue
Apr 24, 2025
Fixesscala#22705Fixesscala#22706Fixesscala#22727
Follow-up to scala#22502 by inserting a
`dealias` when arriving at `target` type.
Refactored the body of `hidden` to make it easier to read. Adjusted the
doc for the same reason.
As a reminder to self, the original reason for special handling of
aliases was due to subclassing, but overrides are excluded. (One could
restore that warning for edge cases.)
The long doc explaining the handling of leading implicits is moved to
the end (as an appendix).
Despite best efforts, I was unable to make the doc longer than the code.
[Cherry-picked d362492]
tgodzik
pushed a commit
to scala/scala3-lts
that referenced
this issue
Apr 25, 2025
Fixesscala#22705Fixesscala#22706Fixesscala#22727
Follow-up to scala#22502 by inserting a
`dealias` when arriving at `target` type.
Refactored the body of `hidden` to make it easier to read. Adjusted the
doc for the same reason.
As a reminder to self, the original reason for special handling of
aliases was due to subclassing, but overrides are excluded. (One could
restore that warning for edge cases.)
The long doc explaining the handling of leading implicits is moved to
the end (as an appendix).
Despite best efforts, I was unable to make the doc longer than the code.
[Cherry-picked d362492]
Compiler version
3.7.0-RC1-bin-20250228-e592b37-NIGHTLY
Minimized code
A bit extended version of #22705
Output
Expectation
The warning should not reference a type as
<none>
.The text was updated successfully, but these errors were encountered: