mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
9 lines
209 B
Kotlin
Vendored
9 lines
209 B
Kotlin
Vendored
external class A {
|
|
class B
|
|
}
|
|
|
|
inline fun A.foo(x: Int): String = asDynamic().foo(x)
|
|
|
|
inline operator fun A.get(x: Int): String = asDynamic()[x]
|
|
|
|
inline operator fun A.B.get(x: Int): String = asDynamic()[x] |