aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t3174.scala
blob: bae941bc1319aedde469e48830b26bfa45a54ce1 (plain) (tree)
1
2
3
4
5
6
7



                              


                             








                             
object test {
  def method(): Unit = {
    class Foo extends AnyRef {
      object Color {
        object Blue {
          //val b = new Board
        }
      }

      class Board {
        val grid = Color.Blue
      }
    }
    new Foo
  }
 }