Partial body resolve: more efficient handling of loops
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
fun foo() {
|
||||
for (i in 1..10) {
|
||||
val x = take()
|
||||
if (x == null) {
|
||||
while (true) {
|
||||
if (g()) break
|
||||
}
|
||||
}
|
||||
<caret>x.hashCode()
|
||||
}
|
||||
}
|
||||
|
||||
fun take(): Any? = null
|
||||
fun f(): Boolean{}
|
||||
fun g(): Boolean{}
|
||||
Reference in New Issue
Block a user