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