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