Partial body resolve: more efficient handling of while
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
Resolve target: value-parameter val p: kotlin.Any? smart-casted to kotlin.Any
|
||||
Skipped statements:
|
||||
print(p1!!)
|
||||
@@ -0,0 +1,9 @@
|
||||
fun x(s: Any): Boolean{}
|
||||
|
||||
fun foo(p: Any?, p1: Any?) {
|
||||
while(x(p!!)) {
|
||||
print(p1!!)
|
||||
}
|
||||
|
||||
<caret>p.hashCode()
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
Resolve target: value-parameter val p: kotlin.Any?
|
||||
Skipped statements:
|
||||
if (x()) break
|
||||
@@ -0,0 +1,10 @@
|
||||
fun x(): Boolean{}
|
||||
|
||||
fun foo(p: Any?) {
|
||||
while(true) {
|
||||
print(p!!)
|
||||
if (x()) break
|
||||
}
|
||||
|
||||
<caret>p.hashCode()
|
||||
}
|
||||
Reference in New Issue
Block a user