Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,2 +1,24 @@
|
||||
Resolve target: value-parameter val p: kotlin.String?
|
||||
Skipped statements:
|
||||
----------------------------------------------
|
||||
open class C(p: Int) {
|
||||
open fun f(){}
|
||||
}
|
||||
|
||||
fun foo(p: String?) {
|
||||
val o = object : Runnable {
|
||||
override fun run() {
|
||||
if (p == null) return
|
||||
print(p.size)
|
||||
}
|
||||
}
|
||||
|
||||
val c = object : C(p!!.size) {
|
||||
override fun f() {
|
||||
super.f()
|
||||
if (p == null) return
|
||||
print(p.size)
|
||||
}
|
||||
}
|
||||
|
||||
<caret>p?.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user