summaryrefslogblamecommitdiff
path: root/test/files/neg/bug550.check
blob: bf92f6bb05a2c3da62fd59b2ade702b2ba61894b (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