summaryrefslogblamecommitdiff
path: root/test/files/neg/t0528neg.check
blob: c8c3ab422f787fcd5e7448b8e49636036b8d2ee7 (plain) (tree)
1
2
3
4



                                                                                                                                    
t0528neg.scala:2: error: covariant type A occurs in invariant position in type => Array[T forSome { type T <: A }] of method toArray
  def toArray: Array[T forSome {type T <: A}]
      ^
one error found