[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
85949b387e
commit
cd890d5833
+2
-2
@@ -8,8 +8,8 @@ class A {
|
||||
}
|
||||
|
||||
fun foo(list: List<A>) {
|
||||
for (<!VAL_OR_VAR_ON_LOOP_PARAMETER!>var<!> (<!UNUSED_VARIABLE!>c1<!>, <!UNUSED_VARIABLE!>c2<!>, c3) in list) {
|
||||
<!UNUSED_VALUE!><!VAL_REASSIGNMENT!>c1<!> =<!> 1
|
||||
for (<!VAL_OR_VAR_ON_LOOP_PARAMETER!>var<!> (c1, c2, c3) in list) {
|
||||
<!VAL_REASSIGNMENT!>c1<!> = 1
|
||||
c3 + 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user