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

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