Smart completion for implicitly typed function body

This commit is contained in:
Valentin Kipyatkov
2014-07-22 23:23:47 +04:00
parent 91c983706a
commit 19999e6879
3 changed files with 34 additions and 9 deletions
@@ -0,0 +1,12 @@
class C {
fun foo(): String = ""
fun bar(): String = ""
fun zoo(): Any = ""
}
val c = C()
fun f() = c.<caret>foo()
// EXIST: foo
// EXIST: bar
// ABSENT: zoo