Switch off FIR version off REDUNDANT_LABEL_WARNING (performance-related)

This reverts commit 363b2550 (partially)
This commit is contained in:
Mikhail Glukhikh
2021-10-27 09:07:01 +03:00
committed by TeamCityServer
parent 36c4938172
commit b0ec3cb831
39 changed files with 255 additions and 57 deletions
@@ -0,0 +1,22 @@
// !LANGUAGE: +ExpectedTypeFromCast
@Target(AnnotationTarget.EXPRESSION)
@Retention(AnnotationRetention.SOURCE)
annotation class bar
fun <T> foo(): T = TODO()
fun <V> id(value: V) = value
val par1 = (foo()) as String
val par2 = ((foo())) as String
val par3 = (dd@ (foo())) as String
val par4 = ( @bar() (foo())) as String
object X {
fun <T> foo(): T = TODO()
}
val par5 = ( @bar() X.foo()) as String
@@ -1,4 +1,3 @@
// FIR_IDENTICAL
// !LANGUAGE: +ExpectedTypeFromCast
@Target(AnnotationTarget.EXPRESSION)