summaryrefslogtreecommitdiff
path: root/test/files/pos/t2133.scala
blob: c74d0a4bbf9a78f68f34220bfb664c794b88fc2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
trait Foo {
  object bar {
    private[this] 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()
}