[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
@@ -6,9 +6,9 @@ class A {
|
||||
fun foo(a: A, c: Int) {
|
||||
val (<!NAME_SHADOWING!>a<!>, b) = a
|
||||
val arr = Array(2) { A() }
|
||||
for ((<!NAME_SHADOWING, UNUSED_VARIABLE!>c<!>, <!UNUSED_VARIABLE!>d<!>) in arr) {
|
||||
for ((<!NAME_SHADOWING!>c<!>, d) in arr) {
|
||||
|
||||
}
|
||||
|
||||
val <!UNUSED_VARIABLE!>e<!> = a.toString() + b + c
|
||||
val e = a.toString() + b + c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user