[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
+3
-3
@@ -31,11 +31,11 @@ fun test() {
|
||||
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><Double>(1)
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><Float>(1)
|
||||
|
||||
|
||||
1 as Byte
|
||||
1 as Int
|
||||
0xff as Long
|
||||
|
||||
|
||||
1.1 as Int
|
||||
<!INAPPLICABLE_CANDIDATE!>checkSubtype<!><Int>(1.1)
|
||||
|
||||
@@ -50,4 +50,4 @@ fun test() {
|
||||
<!INAPPLICABLE_CANDIDATE!>testFun<!><Float>(1.0)
|
||||
testFun(1.0.toFloat())
|
||||
testFun<Float>(1.0.toFloat())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user