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