Files
kotlin-fork/idea/testData/intentions/toInfixCall/multipleArguments.kt
T
2016-07-22 18:13:38 +03:00

10 lines
216 B
Kotlin
Vendored

// IS_APPLICABLE: false
// ERROR: 'infix' modifier is inapplicable on this function: must have a single value parameter
interface Foo {
infix fun foo(a: Int, b: Int)
}
fun foo(x: Foo) {
x.<caret>foo(1, 2)
}