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









                                                                   
t5093.scala:2: error: illegal cyclic reference involving type C
  def f[C[X] <: C[X]](l: C[_]) = l.x
                                 ^
t5093.scala:2: error: cyclic aliasing or subtyping involving type C
  def f[C[X] <: C[X]](l: C[_]) = l.x
        ^
t5093.scala:2: error: C does not take type parameters
  def f[C[X] <: C[X]](l: C[_]) = l.x
                         ^
three errors found