summaryrefslogblamecommitdiff
path: root/test/files/neg/t278.check
blob: ad1078f897188042ac4b2c0276939bfe5b7f0d3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                 
                           

                              

      
                                              


                     
t278.scala:5: error: overloaded method value a with alternatives:
  => C.this.A => Unit <and>
  => () => Unit
 does not take type parameters
  a[A]
  ^
t278.scala:4: error: method a is defined twice
  def a = (p:A) => ()
      ^
two errors found