We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d4cfff + 77eb00f commit 6a519c8Copy full SHA for 6a519c8
tests/pos/i5700.scala
@@ -0,0 +1,5 @@
1
+// https://github.com/lampepfl/dotty/issues/5700
2
+object noRecursionLimit:
3
+ type M = { type T[+A]; type Ev >: T[Any] <: T[Nothing] }
4
+ val M: M = ().asInstanceOf[M]
5
+ def dcast(m: M.T[Any]): M.T[Int] = m: M.Ev
0 commit comments