class Outer { val x = object { val x = 1 fun getX() = 1 } }