not sure if i understood you correctly, the follow...
# random
p
not sure if i understood you correctly, the following compiles fine:
Copy code
class Child : Container() {
    override fun bar() {
        3.foo()
    }

    fun baz() = 3.foo()
}