[FIR] Fix false positive "return required" for if/else with inlined return in branch
^KT-49289 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
5b10396f48
commit
744191099c
+6
@@ -15843,6 +15843,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/inline/inlineReified.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlinedReturnInBranch.kt")
|
||||
public void testInlinedReturnInBranch() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inline/inlinedReturnInBranch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invoke.kt")
|
||||
public void testInvoke() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user