Fix type checking of local return inside return expression
#KT-16426 Fixed
This commit is contained in:
+6
@@ -11093,6 +11093,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("localReturnInsideProperty.kt")
|
||||
public void testLocalReturnInsideProperty() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/nonLocalReturns/localReturnInsideProperty.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("use.kt")
|
||||
public void testUse() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/nonLocalReturns/use.kt");
|
||||
|
||||
Reference in New Issue
Block a user