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