[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
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user