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

13 lines
186 B
Kotlin

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