Fix type checking of local return inside return expression

#KT-16426 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-04-07 16:37:35 +03:00
parent 7f287a4230
commit c9b468581a
9 changed files with 106 additions and 23 deletions
@@ -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");