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









                                                                                               
bug550.scala:6 error: class List takes type parameters
  def sum[a](xs: List)(implicit m: Monoid[a]): a =
                 ^
bug550.scala:6 error: class List takes type parameters
  def sum[a](xs: List)(implicit m: Monoid[a]): a =
                 ^
bug550.scala:8 error: no implicit argument matching parameter type Monoid[scala.All] was found.
  sum(List(1,2,3))
     ^
three errors found