Files
kotlin-fork/idea/testData/inspectionsLocal/suspiciousVarProperty/noBackingFieldRef.kt
T
2018-10-23 12:31:42 +03:00

5 lines
105 B
Kotlin
Vendored

// FIX: Change to val and delete initializer
class Test {
<caret>var foo: Int = 0
get() = 1
}