Revert "[FIR] Fix missing RETURN_TYPE_MISMATCH for labeled return statements"
This reverts commit 8e72f60996
Since some intellij tests are failing
This commit is contained in:
Vendored
+2
-2
@@ -32,9 +32,9 @@ fun foo() {
|
||||
// Doesn't work both in K1 and K2, but probably should (KT-58232 for tracking)
|
||||
val dates3 = <!NEW_INFERENCE_ERROR!>myRun {
|
||||
when {
|
||||
else -> return@myRun <!RETURN_TYPE_MISMATCH!>buildList {
|
||||
else -> return@myRun buildList {
|
||||
add(4)
|
||||
}<!>
|
||||
}
|
||||
}
|
||||
}<!>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user