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

9 lines
154 B
Kotlin
Vendored

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