Partial body resolve tests: more informative test output

This commit is contained in:
Valentin Kipyatkov
2014-11-20 13:35:49 +03:00
parent 4503adb7fc
commit cd90ab951f
49 changed files with 495 additions and 100 deletions
@@ -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()
}