Why does this code result in "Unresolved reference...
# announcements
a
Why does this code result in "Unresolved reference: s": fun main(args: Array<String>) { A().show() } class A { val o = object { public var s = "hi" } fun show() { println(o.s) } }