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
with 2.9.1.final or 2.10.0-M1-0179-g34233f031e-2012-02-10 results in the following error reports,
bug.scala:8:error: could not find implicit value for parameter a: IllegalInheritance.AclassCextendsB/*[Int]*/(23) // uncomment
^
bug.scala:8:error: illegal inheritance;
self-typeIllegalInheritance.C does not conform to IllegalInheritance.B[Int]'s selftype IllegalInheritance.B[Int]
classCextendsB/*[Int]*/(23) // uncomment
^
two errors found
Any one of the changes mentioned in the line-end comments will result in a successful compilation. Compiling with -Yno-self-type-checks eliminates the illegal inheritance error, but doesn't eliminate the spurious implicit resolution failure.
The text was updated successfully, but these errors were encountered:
Compiling the following,
with 2.9.1.final or 2.10.0-M1-0179-g34233f031e-2012-02-10 results in the following error reports,
Any one of the changes mentioned in the line-end comments will result in a successful compilation. Compiling with -Yno-self-type-checks eliminates the illegal inheritance error, but doesn't eliminate the spurious implicit resolution failure.
The text was updated successfully, but these errors were encountered: