Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
Resolve target: val x: kotlin.Any?
|
||||
Skipped statements:
|
||||
if (x == null) { do { if (g()) break } while (f()) }
|
||||
----------------------------------------------
|
||||
fun foo() {
|
||||
for (i in 1..10) {
|
||||
val x = take()
|
||||
// STATEMENT DELETED: if (x == null) { do { if (g()) break } while (f()) }
|
||||
<caret>x.hashCode()
|
||||
}
|
||||
}
|
||||
|
||||
fun take(): Any? = null
|
||||
fun f(): Boolean{}
|
||||
fun g(): Boolean{}
|
||||
|
||||
Reference in New Issue
Block a user