diff options
Diffstat (limited to 'test/files/neg/bug550.check')
-rw-r--r-- | test/files/neg/bug550.check | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/neg/bug550.check b/test/files/neg/bug550.check new file mode 100644 index 0000000000..becafc8768 --- /dev/null +++ b/test/files/neg/bug550.check @@ -0,0 +1,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 |