mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 00:21:32 +00:00
10 lines
175 B
Plaintext
Vendored
10 lines
175 B
Plaintext
Vendored
// "Create member property 'A.foo'" "true"
|
|
// ERROR: Property must be initialized or be abstract
|
|
|
|
class A {
|
|
val foo: String
|
|
}
|
|
|
|
fun test() {
|
|
println("a = ${A().foo}")
|
|
} |