mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 00:21:35 +00:00
12 lines
269 B
Plaintext
Vendored
12 lines
269 B
Plaintext
Vendored
// "Create extension function 'T.foo'" "true"
|
|
|
|
interface T
|
|
|
|
fun test(t: T) {
|
|
val b: Boolean = t.foo("1", 2)
|
|
}
|
|
|
|
private fun T.foo(s: String, i: Int): Boolean {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|