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
Or at least, preserve them for aliases whose kind is different from the kind of their right-hand side
objectTest {
deffoo[M[_]](x: M[Int]) = x
typeAlias[A] = (A, A)
valx:Alias[Int] = (1, 2)
foo[Alias](x) // ok
foo(x) // ok in scalac but fails in dotty with:// error: type mismatch:// found : (Int, Int)// required: M[Int]
}