Files
kotlin-fork/idea/testData/resolve/partialBodyResolve/InsideAnonymousObject.dump
T

23 lines
554 B
Plaintext
Vendored

Resolve target: val length: kotlin.Int
----------------------------------------------
open class C(p: Int) {
open fun f(){}
}
fun foo(p1: String?, p2: String?) {
if (p1 == null) return
/* STATEMENT DELETED: println(p1) */
val c = object : C(p1.length) {
override fun f() {
/* STATEMENT DELETED: super.f() */
if (p2 == null) return
print(p2.<caret>length)
/* STATEMENT DELETED: bar() */
}
fun bar() {
/* STATEMENT DELETED: print(1) */
}
}
}