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
@@ -51,12 +51,12 @@ fun testLoopLabelInReturn(xs: List<Int>) {
}
fun testValLabelInReturn() {
<!REDUNDANT_LABEL_WARNING!>L@<!> val fn = { <!NOT_A_FUNCTION_LABEL!>return@L<!> }
L@ val fn = { <!NOT_A_FUNCTION_LABEL!>return@L<!> }
fn()
}
fun testHighOrderFunctionCallLabelInReturn() {
<!REDUNDANT_LABEL_WARNING!>L@<!> run {
L@ run {
<!NOT_A_FUNCTION_LABEL!>return@L<!>
}
}