mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
9 lines
244 B
Kotlin
9 lines
244 B
Kotlin
// "Create function 'get'" "true"
|
|
fun x (y: Any) {
|
|
val z: Any = y[""]
|
|
}
|
|
|
|
fun Any.get(s: String): Any {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|