mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
11 lines
253 B
Plaintext
Vendored
11 lines
253 B
Plaintext
Vendored
// "Create extension function 'Unit.foo'" "true"
|
|
// WITH_RUNTIME
|
|
|
|
fun test() {
|
|
val a: Int = Unit.foo(2)
|
|
}
|
|
|
|
private fun Unit.foo(i: Int): Int {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|