summaryrefslogtreecommitdiff
path: root/test/files/neg/t5390.scala
blob: dd628f8851be9ae2f136b397505099cf456a4c82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class A {
  object B { def apply(s: String) = 0}
}

object X {
  def foo {
    val b = a.B("")
    val a = new A
  }
}