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
-- [E194] PotentialIssueWarning: .../no-extension.scala:12:23-12| extension (c: C) defequals(that: Any):Boolean=false|^|Extension method equals will never be selected
|because C already has a member with the same name and compatible parameter types.
Expectation
Complain about defining extension methods which can't be invoked because they are universally available.
Compiler version
3.6.2
Minimized code
Output
Expectation
Complain about defining extension methods which can't be invoked because they are universally available.
The loophole for opaque types is too wide.
Noticed at #17821.
The text was updated successfully, but these errors were encountered: