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
I'm fairly sure this worked as intended while I was working on type class derivation in the compiler and seems to have regressed some time before 3.0.0.
Compiler version
3.1.0
Minimized code
Output
Compile with
scalac -Xprint:typer
:Expectation
We should see
MirroredElemTypes[X] = (X, Boolean)
.If we replace
type Test = [X] =>> (X, Boolean)
withcase class Test[X](l: X, r: Boolean)
then it works as expected.For context, this arose when investigating typelevel/shapeless-3#46.
The text was updated successfully, but these errors were encountered: