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