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