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
typeAt[V, L<:TList[R[V]], K<:Long] <:Option[?] =LmatchcaseEmpty.type=>None.type// When this line is commented out, the code does not compilecaseCons[R[V], (k, v), tail] =>None.typetraitTList[+T]
objectEmptyextendsTList[Nothing]
classCons[+E, +H<:E, +T<:TList[E]] extendsTList[E]
typeR[+T] = (Long, T)
Compiler version
3.5.0-RC1
Minimized code
Output
Compiles fine
Expectation
Compiler error, similarly to what happens for
Error message:
The text was updated successfully, but these errors were encountered: