summaryrefslogtreecommitdiff
path: root/test/neg/overlapping.check
blob: 68251d32f7fe1518506ee7706a88a40622bf74e7 (plain) (blame)
1
2
3
4
5
6
overlapping.scala:9: overlapping overloaded alternatives; the two following alternatives of method foo have the same erasure: ()Any
 alternative 1: def foo: X.this.I
 alternative 2: def foo: X.this.J
  def foo: J;
      ^
one error found