mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
11 lines
167 B
Plaintext
Vendored
11 lines
167 B
Plaintext
Vendored
// "Create member property 'A.foo'" "true"
|
|
// ERROR: Property must be initialized or be abstract
|
|
|
|
object A {
|
|
val foo: Int
|
|
}
|
|
|
|
fun test() {
|
|
val a: Int = A.foo
|
|
}
|