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 0d63b0c + 5d7fdea commit 42f96b4Copy full SHA for 42f96b4
tests/neg/i4371a.scala
@@ -0,0 +1,4 @@
1
+object App {
2
+ class Foo { type A = Boo#B } // error: illegal cyclic reference: alias App.Boo#B of type A refers back to the type itself
3
+ class Boo { type B = Foo#A }
4
+}
tests/neg/i4371b.scala
@@ -0,0 +1,3 @@
+ type T[G[X] <: X, F[X] <: G[F[X]]] // error: Recursion limit exceeded. Maybe there is an illegal cyclic reference? ...
0 commit comments