mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
11 lines
256 B
Kotlin
11 lines
256 B
Kotlin
// "Create function 'foo'" "true"
|
|
|
|
fun test(s: String?) {
|
|
if (s == null) return
|
|
foo(s)
|
|
}
|
|
|
|
fun foo(s: String) {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|