Files
kotlin-fork/idea/idea-completion/testData/handlers/InfixCall.kt
T
2015-10-12 15:10:39 +03:00

6 lines
104 B
Kotlin
Vendored

infix fun <A, B> A.to(that: B): Pair<A, B> = Pair(this, that)
fun foo() {
val pair = 1 to<caret>
}