summaryrefslogblamecommitdiff
path: root/test/files/neg/bug550.check
blob: e1650b7ab12e4abf08ce39fcf39e6a47826df1b3 (plain) (tree)
1
2
3
4
5
6
7
                                                      
                                                  
                  
                                                                               
                  
      
                
bug550.scala:6: error: type List takes type parameters
  def sum[a](xs: List)(implicit m: Monoid[a]): a =
                 ^
bug550.scala:8: error: could not find implicit value for parameter m: Monoid[a]
  sum(List(1,2,3))
     ^
two errors found