Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/beforeThisInNestedClass1.kt
T

11 lines
227 B
Kotlin

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