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

9 lines
185 B
Kotlin
Vendored

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