mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
13 lines
330 B
Kotlin
13 lines
330 B
Kotlin
// "Create function 'foo'" "true"
|
|
|
|
class A {
|
|
object B {
|
|
fun test(): Int {
|
|
return foo(2, "2")
|
|
}
|
|
|
|
fun foo(i: Int, s: String): Int {
|
|
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
} |