Do not offer to convert to infix call when calling non-infix function
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: 'infix' modifier is inapplicable on this function
|
||||
interface Foo {
|
||||
fun foo(a: Int, b: Int)
|
||||
infix fun foo(a: Int, b: Int)
|
||||
}
|
||||
|
||||
fun foo(x: Foo) {
|
||||
|
||||
Reference in New Issue
Block a user