Checking "infix" modifier in completion and import popup

This commit is contained in:
Valentin Kipyatkov
2015-10-09 18:22:44 +03:00
parent a7577ac722
commit ee7425c1de
16 changed files with 49 additions and 24 deletions
@@ -1,6 +1,6 @@
// checks that no special item "ext1 { String, Int -> ... }" created for infix call
fun Int.ext1(handler: (String, Int) -> Unit){}
fun Int.ext2(c: Char){}
infix fun Int.ext1(handler: (String, Int) -> Unit){}
infix fun Int.ext2(c: Char){}
fun foo() {
val pair = 1 ext<caret>