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
traitSignature:typeImpl[A, U]
typeOperation[Z<:Signature, A, U] = (z: Z) => z.Impl[A, U]
// This produces error:caseclassPerform[Z<:Signature, A, U](op: Operation[Z, A, U])
// However, if I manually inline the type alias, the error goes away:caseclassPerform_fix[Z<:Signature, A, U](op: (z: Z) => z.Impl[A, U])
// Also, using the alias in other contexts does not produce errors:deffoo[Z<:Signature, A, U](op: Operation[Z, A, U]):Unit=???
Compiler version
3.0.0
Minimized code
Above snippet in Scastie: https://scastie.scala-lang.org/h8VPuvAMS72F42Cb11RubA
Output
Expectation
Not having to manually inline the type alias.
The text was updated successfully, but these errors were encountered: