[Test] Explicitly enable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite
This commit is contained in:
committed by
TeamCityServer
parent
a9ff030c73
commit
85949b387e
@@ -1,3 +1,5 @@
|
||||
// !DIAGNOSICS: +UNUSED_VARIABLE
|
||||
|
||||
data class D(val x: Int, val y: Int, val z: Int)
|
||||
fun foo(): Int {
|
||||
val (<!UNUSED_VARIABLE!>x<!>, y, z) = D(1, 2, 3)
|
||||
|
||||
Reference in New Issue
Block a user