summaryrefslogblamecommitdiff
path: root/test/files/neg/cyclics.check
blob: c240387d2f67ecf34922028b777eb3dfd1b51b59 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                 
cyclics.scala:2: error: illegal cyclic reference involving type A
  type A = List[A]
                ^
cyclics.scala:3: error: illegal cyclic reference involving type B
  type B[T] = List[B[B[T]]]
                   ^
cyclics.scala:5: error: illegal cyclic reference involving type E
  type C = I { type E = C }
                        ^
three errors found