summaryrefslogtreecommitdiff
path: root/test/files/neg/bug278.check
blob: ad0a97371e3da4f65364d3611e79a2b74e7f0a36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
bug278.scala:5: error: overloaded method value a with alternatives:
  => (C.this.A) => Unit <and>
  => () => Unit
 does not take type parameters
  a[A]
  ^
bug278.scala:4: error: method a is defined twice
  def a = (p:A) => ()
      ^
two errors found