Smart completion: added a test

This commit is contained in:
Valentin Kipyatkov
2014-05-12 20:55:00 +04:00
parent 2d850f41f1
commit c9bde2de0e
2 changed files with 17 additions and 0 deletions
@@ -0,0 +1,12 @@
fun foo(s: String){}
fun foo(c: Char){}
val xxx: XXX
fun bar(b: Boolean, s: String, c: Char){
foo(if (b) xxx else <caret>)
}
// EXIST: s
// EXIST: c
// ABSENT: b