summaryrefslogtreecommitdiff
path: root/test/files/neg/bug550.check
blob: 8f1a5c0e5a092ea69a326d585f5d20c5a2e726e0 (plain) (blame)
1
2
3
4
5
6
7
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[Nothing] was found.
  sum(List(1,2,3))
  ^
two errors found