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

8 lines
206 B
Kotlin
Vendored

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