[Test] Disable UNUSED_* diagnostics in tests which are not belong to contolFlowAnalysis suite

This commit is contained in:
Dmitriy Novozhilov
2021-03-29 12:14:16 +03:00
committed by TeamCityServer
parent 85949b387e
commit cd890d5833
758 changed files with 1832 additions and 3745 deletions
+2 -1
View File
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// KT-287 Infer constructor type arguments
import java.util.*
@@ -5,7 +6,7 @@ import java.util.*
fun attributes() : Map<String, String> = HashMap() // Should be inferred;
val attributes : Map<String, String> = HashMap() // Should be inferred;
fun foo(<!UNUSED_PARAMETER!>m<!> : Map<String, String>) {}
fun foo(m : Map<String, String>) {}
fun test() {
foo(HashMap())