mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
11 lines
239 B
Plaintext
Vendored
11 lines
239 B
Plaintext
Vendored
// "Create member function 'A.foo'" "true"
|
|
|
|
object A {
|
|
fun foo(i: Int): Int {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
val a: Int = A.foo(2)
|
|
} |