Minor fix in partial body resolve

This commit is contained in:
Valentin Kipyatkov
2015-07-14 12:48:11 +03:00
parent 8d1499197e
commit 745bed74b2
4 changed files with 28 additions and 0 deletions
@@ -0,0 +1,11 @@
Resolve target: fun foo(): kotlin.Int
----------------------------------------------
class C {
init {
<caret>foo()
/* STATEMENT DELETED: bar() */
}
}
fun foo() = 1
fun bar() = 2