Join Slack
Powered by
Why does this code result in "Unresolved reference...
# announcements
a
appasni
03/07/2017, 6:35 PM
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) } }
2
Views
Open in Slack
Previous
Next