Smart completion works for block's result

This commit is contained in:
Valentin Kipyatkov
2014-04-30 20:45:26 +04:00
parent 45f518a907
commit 1b034c5fc3
7 changed files with 75 additions and 0 deletions
@@ -0,0 +1,15 @@
fun foo(s: String){}
fun foo(c: Char){}
fun bar(b: Boolean, s: String, c: Char){
foo(if (b)
"abc"
else {
println()
<caret>
})
}
// EXIST: s
// ABSENT: c
// ABSENT: b