mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 00:21:28 +00:00
10 lines
210 B
Plaintext
Vendored
10 lines
210 B
Plaintext
Vendored
// "Create property 'foo' as constructor parameter" "true"
|
|
|
|
class A<T>(val n: T, val foo: A<Int>) {
|
|
inner class B<U>(val m: U) {
|
|
fun test(): A<Int> {
|
|
return this@A.foo
|
|
}
|
|
}
|
|
}
|