Fix for KT-3584: Wrong bytecode generated for local class with default parameters and captured local val

#KT-3584 Fixed
This commit is contained in:
Michael Bogdanov
2014-10-06 17:09:45 +04:00
parent 989cae9f1f
commit d0d207f387
4 changed files with 33 additions and 5 deletions
@@ -4151,6 +4151,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt3584.kt")
public void testKt3584() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/localClasses/kt3584.kt");
doTest(fileName);
}
@TestMetadata("localClass.kt")
public void testLocalClass() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/localClasses/localClass.kt");