Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/afterValOnLibObject.kt
T
2014-10-03 20:18:41 +04:00

9 lines
145 B
Kotlin

// "Create property 'foo' from usage" "true"
// ERROR: Property must be initialized
fun test() {
val a: Int = Unit.foo
}
val Unit.foo: Int