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,3 +1,3 @@
package util
fun h.H.foo(other: h.H) = ""
infix fun h.H.foo(other: h.H) = ""
@@ -0,0 +1,3 @@
package util
fun h.H.foo(other: h.H) = ""
@@ -0,0 +1,17 @@
// "Import" "false"
// ERROR: Unresolved reference: foo
// ACTION: Create extension function 'foo'
// ACTION: Create extension property 'foo'
// ACTION: Create local variable 'foo'
// ACTION: Create member function 'foo'
// ACTION: Create member property 'foo'
// ACTION: Create parameter 'foo'
// ACTION: Replace infix call with ordinary call
package h
interface H
fun f(h: H) {
h <caret>foo h
}