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
This is a regression from 2.10.4, in which the following code compiles.
Welcome to Scala version 2.11.1 (OpenJDK64-BitServerVM, Java1.7.0_55).
Type in expressions to have them evaluated.
Type:help for more information.
scala>traitCm[F[_], A]
defined traitCm
scala>caseclassC[A]() extendsCm[C, A]
defined classC
scala>caseclassD[S,A]() extendsCm[({typel[a] =D[S,a]})#l, A]
<console>:8:error: illegal cyclic reference involving classDcaseclassD[S,A]() extendsCm[({typel[a] =D[S,a]})#l, A]
^
<console>:8:error: D does not take typeparameterscaseclassD[S,A]() extendsCm[({typel[a] =D[S,a]})#l, A]
^
The text was updated successfully, but these errors were encountered:
This is a regression from 2.10.4, in which the following code compiles.
The text was updated successfully, but these errors were encountered: