Fix for KT-5589: VerifyError when default value for parameter of local function is obtained from closure

#KT-5589 Fixed
This commit is contained in:
Michael Bogdanov
2015-11-03 12:30:24 +03:00
parent 141ffa27dc
commit 9daa44566b
3 changed files with 15 additions and 4 deletions
@@ -1846,6 +1846,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt5589.kt")
public void testKt5589() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/kt5589.kt");
doTest(fileName);
}
@TestMetadata("localClassFunClosure.kt")
public void testLocalClassFunClosure() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/closures/localClassFunClosure.kt");