Files
kotlin-fork/idea/testData/quickfix/assignToProperty/differentNameProperty2.kt
T
2017-10-05 14:25:28 +03:00

7 lines
151 B
Kotlin
Vendored

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