Files
kotlin-fork/idea/testData/quickfix/variables/changeMutability/canBeVal/uninitializedWithGetter3.kt
T
2020-02-21 14:09:54 +01:00

14 lines
370 B
Kotlin
Vendored

// "Change to val" "false"
// ACTION: Add initializer
// ACTION: Convert member to extension
// ACTION: Initialize with constructor parameter
// ACTION: Introduce backing property
// ACTION: Move to companion object
// ACTION: Specify type explicitly
// ERROR: Property must be initialized
class Test {
var foo<caret>
get() {
return 1
}
}