aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t2133.scala
blob: 02ef43c21907b25c0265a7272c916cac91bdeee3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                             
trait Foo {
  object bar {
    private def fn() = 5
  }
}

trait Foo2 {
  object bip {
    def fn() = 10
  }
}

class Bob extends AnyRef with Foo with Foo2 {
  import bip._
  import bar._

  def go() = fn()
}