class C { constructor() /* primary */ { super/*Any*/() /* () */ } val c: Int field = 42 get } fun foo(: C) { .() /*~> Unit */ } fun bar(c: C) { with(receiver = c, block = local fun C.() { foo( = $this$with) } ) }