class Test { var field = 1 fun foo() { // TARGET_BLOCK: object : Runnable { override fun run() { field = 2 } } } }