summaryrefslogblamecommitdiff
path: root/test/files/neg/t8237-default.check
blob: 59fe21ed03903bf96960f35f2453eefae0964a6c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                                                                                           
t8237-default.scala:5: error: no type parameters for method test4: (x: T[T[List[T[X forSome { type X }]]]])Nothing exist so that it can be applied to arguments (List[Int])
 --- because ---
argument expression's type is not compatible with formal parameter type;
 found   : List[Int]
 required: ?T[?T[List[?T[X forSome { type X }]]]]
  test4(test4$default$1)
  ^
t8237-default.scala:5: error: type mismatch;
 found   : List[Int]
 required: T[T[List[T[X forSome { type X }]]]]
  test4(test4$default$1)
        ^
two errors found