aboutsummaryrefslogblamecommitdiff
path: root/tests/new/private-types-after-typer.scala
blob: 5c20cac2a1fb14bcecc121b9f9ba9ad4a9b8822e (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                               
// Testing that the type of the outer accessor in O2
// doesn't crash the compiler over private type escaping scope.
trait T {
  class C {
     private object O1 {
        object O2
     }
  }
}