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