Files
kotlin-fork/idea/testData/quickfix/assignToProperty/differentNameProperty.kt
T
2020-09-03 18:04:55 +02:00

10 lines
209 B
Kotlin
Vendored

// "Assign to property" "false"
// ACTION: Convert assignment to assignment expression
// ERROR: Val cannot be reassigned
class Test {
var bar = 1
fun test(foo: Int) {
<caret>foo = foo
}
}