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

11 lines
207 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>
fun test(): A<Int> {
return this.foo
}
}