8 lines
138 B
Kotlin
Vendored
8 lines
138 B
Kotlin
Vendored
interface IFoo {
|
|
fun foo(i: Int): Int
|
|
infix fun bar(i: Int): Int
|
|
}
|
|
|
|
infix fun IFoo.foo(i: Int) = i
|
|
infix fun IFoo.bar(i: Int) = i
|