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






                                                               
object Test {
  object Foo
  val f: Option[Foo.type] = Some(Foo)
}

// unsupported with current typing rules.
// on the other hand, we need a way to refer to a module class.