// WITH_SIGNATURES fun test() { val x = object { fun foo() {} fun S2.ext() {} val S3.extVal get() = 1 var S4.extVar get() = 1 set(value) {} } x.foo() } class Test { fun test() { val x = object { fun foo() {} fun S2.ext() {} val S3.extVal get() = 1 var S4.extVar get() = 1 set(value) {} } x.foo() } }