[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-459 Type argument inference fails when class names are fully qualified
fun test() {
@@ -5,4 +6,4 @@ fun test() {
attributes["href"] = "1" // inference fails, but it shouldn't
}
operator fun <K, V> Map<K, V>.set(<!UNUSED_PARAMETER!>key<!> : K, <!UNUSED_PARAMETER!>value<!> : V) {}//= this.put(key, value)
operator fun <K, V> Map<K, V>.set(key : K, value : V) {}//= this.put(key, value)