Do not offer to convert to infix call when calling non-infix function
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
// IS_APPLICABLE: false
|
||||
// WITH_RUNTIME
|
||||
// ERROR: 'infix' modifier is inapplicable on this function
|
||||
package ppp
|
||||
|
||||
infix fun foo(p: String){}
|
||||
|
||||
fun main() {
|
||||
kotlin.io.<caret>println("")
|
||||
ppp.<caret>foo("")
|
||||
}
|
||||
Reference in New Issue
Block a user