Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/valOnUserObject.kt.after
T
2016-07-20 15:39:19 +03:00

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
}