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
[error] E:\prog\jvm\test\a\a.scala:7: class D needs to be abstract, since method
f in class C of type (t: B)(s: String)B is not defined
[error] (Note that T does not match B)
[error] class D extends C[B] {
[error] ^
[error] one error found
The real error here is of course that "Int" in the implementation should be "String". However, the message "(Note that T does not match B)" is less than helpful in figuring out this.
The text was updated successfully, but these errors were encountered:
Compiling this gives the error message:
The real error here is of course that "Int" in the implementation should be "String". However, the message "(Note that T does not match B)" is less than helpful in figuring out this.
The text was updated successfully, but these errors were encountered: