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





                                                                                                                                   
/home/odersky/workspace/scala/test/files/neg/t3224.scala:29: error: polymorphic expression cannot be instantiated to expected type;
 found   : [T]Array[T]
 required: List[?]
  println(Texts textL Array()); println(Texts textL Array(1)); println(Texts textL Array(1, 1))
                           ^
one error found