57763e10e0
#KT-6689 Fixed
13 lines
251 B
Kotlin
13 lines
251 B
Kotlin
// "Create property '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
|
|
}
|
|
}
|
|
}
|