blob: f58116c31c5938b69e0566d81071ba0b737cbf82 (
plain) (
tree)
|
|
class C {
val x = 1
object $ {
val y = x + x
class abc$ {
def xy = x + y
}
object abc$ {
def xy = x + y
}
}
}
object Test extends dotty.runtime.LegacyApp {
val c = new C()
println(c.$.y)
println(c.$.abc$.xy)
println(new c.$.abc$().xy)
}
|