Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
Resolve target: value-parameter val p: kotlin.String?
|
||||
Skipped statements:
|
||||
if (p == null) return null
|
||||
print(p.size)
|
||||
return ""
|
||||
----------------------------------------------
|
||||
fun foo(p: String?) {
|
||||
fun local(): String? {
|
||||
// STATEMENT DELETED: if (p == null) return null
|
||||
// STATEMENT DELETED: print(p.size)
|
||||
// STATEMENT DELETED: return ""
|
||||
}
|
||||
|
||||
<caret>p?.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user