blob: 25367af0e5e878347f6827ffd2445b1af618f55a (
plain) (
tree)
|
|
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))
^
two errors found
|