Partial body resolve tests: more informative test output
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
Resolve target: value-parameter val p: kotlin.Any?
|
||||
Skipped statements:
|
||||
while(2 * 2 == 4) { print(p!!) if (x()) break }
|
||||
----------------------------------------------
|
||||
// this test will fail if control flow analysis will start to produce smart-casts after "while(2 * 2 == 4)"
|
||||
|
||||
fun x(): Boolean{}
|
||||
|
||||
fun foo(p: Any?) {
|
||||
// STATEMENT DELETED: while(2 * 2 == 4) { print(p!!) if (x()) break }
|
||||
|
||||
<caret>p.hashCode()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user