mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
13 lines
260 B
Plaintext
Vendored
13 lines
260 B
Plaintext
Vendored
// "Create member property 'A.foo'" "true"
|
|
// ERROR: Property must be initialized or be abstract
|
|
|
|
class A<T>(val n: T) {
|
|
private val foo: A<Int>
|
|
|
|
inner class B<U>(val m: U) {
|
|
fun test(): A<Int> {
|
|
return this@A.foo
|
|
}
|
|
}
|
|
}
|