[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
+2
-1
@@ -1,4 +1,5 @@
|
||||
// !LANGUAGE: +WarningOnMainUnusedParameter
|
||||
// !DIAGNOSTICS: +UNUSED_PARAMETER
|
||||
|
||||
// FILE: a.kt
|
||||
fun main(<!UNUSED_PARAMETER!>args<!>: Array<String>) {}
|
||||
@@ -7,4 +8,4 @@ fun main(<!UNUSED_PARAMETER!>args<!>: Array<String>) {}
|
||||
fun main(<!UNUSED_PARAMETER!>args<!>: Array<String>) {}
|
||||
|
||||
// FILE: c.kt
|
||||
fun foo() { <!OVERLOAD_RESOLUTION_AMBIGUITY!>main<!>(arrayOf("a", "b")) }
|
||||
fun foo() { <!OVERLOAD_RESOLUTION_AMBIGUITY!>main<!>(arrayOf("a", "b")) }
|
||||
|
||||
Reference in New Issue
Block a user