summaryrefslogblamecommitdiff
path: root/test/files/neg/t2918.check
blob: e67f24ec5701d29b7af57e2038a37d16cba3f4d7 (plain) (tree)
1
2
3
4
5
6
7






                                                                   
t2918.scala:2: error: cyclic aliasing or subtyping involving type A
  def g[X, A[X] <: A[X]](x: A[X]) = x 
           ^
t2918.scala:2: error: A does not take type parameters
  def g[X, A[X] <: A[X]](x: A[X]) = x 
                            ^
two errors found