blob: 8ce38b21e4b14bcc0133d0b56d166f8f05b565e1 (
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[scala.Nothing] was found.
sum(List(1,2,3))
^
two errors found
|