KT-1547 Wrong layout of closure classes
#KT-1547 fixed
This commit is contained in:
@@ -65,7 +65,7 @@ public class OuterClassGenTest extends CodegenTestCase {
|
||||
|
||||
public void testObjectLiteralInPackageClass() throws Exception {
|
||||
OuterClassInfo expectedInfo = new OuterClassInfo("foo/FooPackage$src$outerClassInfo$", null, null);
|
||||
doCustomTest("foo$packageObjectLiteral$1", expectedInfo);
|
||||
doCustomTest("foo.FooPackage$packageObjectLiteral$1", expectedInfo);
|
||||
}
|
||||
|
||||
public void testLocalClassInTopLevelFunction() throws Exception {
|
||||
|
||||
@@ -921,6 +921,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest("compiler/testData/codegen/box/closures/closureInsideConstrucor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("closureOnTopLevel1.kt")
|
||||
public void testClosureOnTopLevel1() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/closures/closureOnTopLevel1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("closureOnTopLevel2.kt")
|
||||
public void testClosureOnTopLevel2() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/closures/closureOnTopLevel2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("closureWithParameter.kt")
|
||||
public void testClosureWithParameter() throws Exception {
|
||||
doTest("compiler/testData/codegen/box/closures/closureWithParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user