Generate private constructors for Enums
#KT-2680 Fixed #KT-16867 Fixed
This commit is contained in:
+10
@@ -9598,6 +9598,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/enum"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedParameter.kt")
|
||||
public void testAnnotatedParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/annotatedParameter.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedParameter2.kt")
|
||||
public void testAnnotatedParameter2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/annotatedParameter2.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("asReturnExpression.kt")
|
||||
public void testAsReturnExpression() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/enum/asReturnExpression.kt");
|
||||
|
||||
Reference in New Issue
Block a user