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,12 @@
fun foo(s: String, i: Int){}
fun bar(b: Boolean, s: String){
foo(if (b)
"abc"
else {
println()
<caret>
})
}
// ELEMENT: s
@@ -0,0 +1,12 @@
fun foo(s: String, i: Int){}
fun bar(b: Boolean, s: String){
foo(if (b)
"abc"
else {
println()
s<caret>
})
}
// ELEMENT: s