Partial body resolve: more efficient handling of while

This commit is contained in:
Valentin Kipyatkov
2014-11-18 15:08:44 +03:00
parent 38c73f8df4
commit 806bf3b942
6 changed files with 53 additions and 0 deletions
@@ -0,0 +1,10 @@
fun x(): Boolean{}
fun foo(p: Any?) {
while(true) {
print(p!!)
if (x()) break
}
<caret>p.hashCode()
}