Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,6 +1,20 @@
|
||||
Resolve target: val v2: kotlin.Int
|
||||
Skipped statements:
|
||||
x()
|
||||
run { val v2 = 1 println(v2) }
|
||||
run { val v2 = 2 println(v2) }
|
||||
z()
|
||||
----------------------------------------------
|
||||
fun foo(p: Int) {
|
||||
// STATEMENT DELETED: x()
|
||||
|
||||
val v1 = p * p
|
||||
|
||||
if (y()) {
|
||||
val v2 = v1 * v1
|
||||
val v3 = v1 * v2
|
||||
|
||||
// STATEMENT DELETED: run { val v2 = 1 println(v2) }
|
||||
|
||||
print(<caret>v2)
|
||||
|
||||
// STATEMENT DELETED: run { val v2 = 2 println(v2) }
|
||||
}
|
||||
|
||||
// STATEMENT DELETED: z()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user