Infix calls supported in smart completion too

This commit is contained in:
Valentin Kipyatkov
2014-09-18 17:32:29 +04:00
committed by valentin
parent 2bb553612c
commit 7df65d595c
4 changed files with 36 additions and 15 deletions
@@ -0,0 +1,18 @@
class X {
fun foo(i: Int) = ""
fun bar() = ""
val prop: String = ""
}
fun X.ext1(s: String) = ""
fun X.ext2() = ""
fun X.extProp: String get() = ""
val s: String = X() <caret>
// EXIST: foo
// ABSENT: bar
// ABSENT: prop
// EXIST: ext1
// ABSENT: ext2
// ABSENT: extProp