Files
kotlin/idea/testData/quickfix/createFromUsage/createVariable/property/thisInNestedClass1.kt.after
2016-07-20 15:39:19 +03:00

13 lines
264 B
Plaintext
Vendored

// "Create member property 'A.B.foo'" "true"
// ERROR: Property must be initialized or be abstract
class A<T>(val n: T) {
inner class B<U>(val m: U) {
private val foo: A<Int>
fun test(): A<Int> {
return this.foo
}
}
}