aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/rangepos-anonapply.scala
blob: 0fd04855e06f5c30a2a8d1fb25b0bf502df9f39e (plain) (blame)
1
2
3
4
5
6
7
8
9
class Test {
  trait PropTraverser {
    def apply(x: Int): Unit = {}
  }

  def gather(x: Int): Unit = {
    (new PropTraverser {})(x)
  }
}