I’m having trouble getting the reference to an enc...
# codereview
r
I’m having trouble getting the reference to an enclosing class from the nested companion object
Copy code
class Foo{
    companion object {
        this //this is a reference to the companion object instead of Foo
    }
}