summaryrefslogtreecommitdiff
path: root/test/files/neg/t6535.scala
blob: 30a750311c16468875cdaee9d5acedd4ad584a7b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
object As {
  import Bs.B._

  object A
  extends scala.AnyRef // needed for the cycle;
                       // replacing with a locally defined closs doesn't
                       // hit the locked import and hence doesn't cycle.
}

object Bs {
  import As.A._

  object B
  extends scala.AnyRef // scala.Immutable, ...
}