summaryrefslogtreecommitdiff
path: root/test/files/pos/t4502.scala
blob: ed7d3d0557146d1118cfaac2a7530131bbeac64a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
class T {
  def send(o: Any, d: Int = 10) { }

  def c(f: => Any) { }

  def f() {
    var a = this
    a.send(
      c(a.send(()))
    )
  }
}