13 lines
203 B
Kotlin
13 lines
203 B
Kotlin
// "Create property 'foo'" "true"
|
|
// ERROR: Property must be initialized or be abstract
|
|
|
|
class A {
|
|
object B {
|
|
val foo: Int
|
|
|
|
fun test(): Int {
|
|
return foo
|
|
}
|
|
}
|
|
}
|