KT-44378 don't generate no-arg constructor for sealed classes

This commit is contained in:
Dmitry Petrov
2021-01-15 18:58:10 +03:00
committed by TeamCityServer
parent ee93efc19d
commit 0c463d3260
6 changed files with 27 additions and 1 deletions
@@ -230,6 +230,11 @@ public class BytecodeListingTestGenerated extends AbstractBytecodeListingTest {
runTest("compiler/testData/codegen/bytecodeListing/rawTypeInSignature.kt");
}
@TestMetadata("sealedClassConstructorWithDefaultParams.kt")
public void testSealedClassConstructorWithDefaultParams() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/sealedClassConstructorWithDefaultParams.kt");
}
@TestMetadata("strictfpFlag.kt")
public void testStrictfpFlag() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/strictfpFlag.kt");
@@ -230,6 +230,11 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
runTest("compiler/testData/codegen/bytecodeListing/rawTypeInSignature.kt");
}
@TestMetadata("sealedClassConstructorWithDefaultParams.kt")
public void testSealedClassConstructorWithDefaultParams() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/sealedClassConstructorWithDefaultParams.kt");
}
@TestMetadata("strictfpFlag.kt")
public void testStrictfpFlag() throws Exception {
runTest("compiler/testData/codegen/bytecodeListing/strictfpFlag.kt");