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
classA {
deff(x: AnywithAnyRef, y: AnywithAnyRef) = x eq y
// a.scala:2: warning: Any and Any are unrelated: they will most likely never compare equal// def f(x: Any with AnyRef, y: Any with AnyRef) = x eq y// ^// one warning found
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: