FIR checker: report VAL_REASSIGNMENT on value parameter

This commit is contained in:
Jinseong Jeon
2021-04-26 00:38:34 -07:00
committed by TeamCityServer
parent 2486555208
commit 03f85bea8f
7 changed files with 19 additions and 13 deletions
@@ -1,7 +0,0 @@
@Suppress("warnings")
class C {
fun foo(p: String??) {
// Make sure errors are not suppressed:
p = ""
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@Suppress("warnings")
class C {
fun foo(p: String??) {