Fixed not working item in completion list for infix call

This commit is contained in:
Valentin Kipyatkov
2015-05-06 19:48:56 +03:00
parent 2adf0a3e9a
commit a036a6435b
6 changed files with 56 additions and 18 deletions
@@ -0,0 +1,11 @@
// checks that no special item "ext1 { String, Int -> ... }" created for infix call
fun Int.ext1(handler: (String, Int) -> Unit){}
fun Int.ext2(c: Char){}
fun foo() {
val pair = 1 ext<caret>
}
// EXIST: ext1
// EXIST: ext2
// NUMBER: 2