mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 08:31:29 +00:00
9 lines
132 B
Kotlin
Vendored
9 lines
132 B
Kotlin
Vendored
// "Convert receiver to parameter" "true"
|
|
|
|
expect class Foo {
|
|
fun <caret>String.foo(n: Int)
|
|
}
|
|
|
|
fun Foo.test() {
|
|
"1".foo(2)
|
|
} |