FIR checker: report val reassignment
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
b128577508
commit
f1fa290d49
+1
-1
@@ -9,7 +9,7 @@ class A {
|
||||
|
||||
fun foo(list: List<A>) {
|
||||
for (var (c1, c2, c3) in list) {
|
||||
c1 = 1
|
||||
<!VAL_REASSIGNMENT!>c1<!> = 1
|
||||
c3 + 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user