Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
toInfixCall
/
multipleArguments.kt
blob: a800ee0064b50d66959a6e143fd190a3154a5d8a [
file
] [
log
] [
blame
]
// 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
)
}