FIR checker: report VAL_REASSIGNMENT on value parameter
This commit is contained in:
committed by
TeamCityServer
parent
2486555208
commit
03f85bea8f
-7
@@ -1,7 +0,0 @@
|
||||
@Suppress("warnings")
|
||||
class C {
|
||||
fun foo(p: String??) {
|
||||
// Make sure errors are not suppressed:
|
||||
p = ""
|
||||
}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@Suppress("warnings")
|
||||
class C {
|
||||
fun foo(p: String??) {
|
||||
|
||||
Reference in New Issue
Block a user