Files
kotlin-fork/idea/testData/quickfix/createFromUsage/createVariable/property/localValDelegateRuntime.kt.after
T
Dmitry Gridin c89d1af9fa Improve Create property from Usage
Place generated property next to other properties
 #KT-14886 Fixed
2019-02-27 00:07:55 +03:00

11 lines
196 B
Plaintext
Vendored

import kotlin.properties.ReadOnlyProperty
// "Create property 'foo'" "true"
// ERROR: Property must be initialized
val foo: ReadOnlyProperty<Nothing?, Int>
fun test() {
val x: Int by foo
}