Files
kotlin-fork/idea/testData/quickfix/variables/changeMutability/funParameter.kt
T
Ilya Kirillov bd38363077 FIR IDE: use IGNORE_FIR instead of FIR_COMPARISON in hl quick fix tests
To explicitly specify which test are failing
2021-04-01 18:24:17 +02:00

8 lines
194 B
Kotlin
Vendored

// "Change to var" "false"
// ACTION: Convert assignment to assignment expression
// ACTION: Remove redundant assignment
// ERROR: Val cannot be reassigned
fun fun1(i: Int) {
<caret>i = 2
}