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