summaryrefslogblamecommitdiff
path: root/test/files/neg/bug550.check
blob: 1cdb7931ca61e301d8305539315a19725fd0b510 (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: no implicit argument matching parameter type Monoid[a] was found.
  sum(List(1,2,3))
     ^
two errors found