Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,5 +1,20 @@
|
||||
Resolve target: value-parameter val p: kotlin.String? smart-cast to kotlin.String
|
||||
Skipped statements:
|
||||
y(f()!!)
|
||||
p1!!
|
||||
z(p1!!)
|
||||
----------------------------------------------
|
||||
fun foo(p: String?, p1: Any?) {
|
||||
x(e.f!!)
|
||||
// STATEMENT DELETED: y(f()!!)
|
||||
|
||||
if (a) {
|
||||
print(p!!.size)
|
||||
}
|
||||
else {
|
||||
print(p!!.length)
|
||||
}
|
||||
|
||||
if (y()) {
|
||||
print(<caret>p.size)
|
||||
// STATEMENT DELETED: p1!!
|
||||
}
|
||||
|
||||
// STATEMENT DELETED: z(p1!!)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user