13 lines
197 B
Kotlin
Vendored
13 lines
197 B
Kotlin
Vendored
// "Create member property 'foo'" "true"
|
|
// ERROR: Property must be initialized or be abstract
|
|
|
|
class A<T>(val n: T) {
|
|
companion object {
|
|
|
|
}
|
|
}
|
|
|
|
fun test() {
|
|
val a: Int = A.<caret>foo
|
|
}
|