Basic implementation of partial body resolve

This commit is contained in:
Valentin Kipyatkov
2014-11-17 20:20:16 +03:00
parent 9809e4fd0a
commit a675b5ba38
56 changed files with 852 additions and 32 deletions
@@ -0,0 +1,24 @@
fun foo(p: Int) {
x()
val v1 = p * p
if (y()) {
val v2 = v1 * v1
val v3 = v1 * v2
run {
val v2 = 1
println(v2)
}
print(<caret>v2)
run {
val v2 = 2
println(v2)
}
}
z()
}