mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
11 lines
284 B
Plaintext
Vendored
11 lines
284 B
Plaintext
Vendored
// "Create member function 'A.foo'" "true"
|
|
|
|
class A<T>(val n: T) {
|
|
fun foo(i: Int, s: String): A<Int> {
|
|
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
|
}
|
|
}
|
|
|
|
fun <U> A<U>.test(): A<Int> {
|
|
return this.foo(2, "2")
|
|
} |