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,3 +1,13 @@
Resolve target: val x: kotlin.Any?
Skipped statements:
if (x == null) { while (true) { if (g()) break } }
----------------------------------------------
fun foo() {
for (i in 1..10) {
val x = take()
// STATEMENT DELETED: if (x == null) { while (true) { if (g()) break } }
<caret>x.hashCode()
}
}
fun take(): Any? = null
fun f(): Boolean{}
fun g(): Boolean{}