[FIR] Add deserialization of inheritors of sealed classes

This commit is contained in:
Dmitriy Novozhilov
2019-10-17 11:37:43 +03:00
parent 3dc49ab1d4
commit 25e853606e
9 changed files with 79 additions and 2 deletions
@@ -2381,6 +2381,11 @@ public class LoadJavaTestGenerated extends AbstractLoadJavaTest {
runTest("compiler/testData/loadJava/compiledKotlin/class/RecursiveGeneric.kt");
}
@TestMetadata("SealedClass.kt")
public void testSealedClass() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");
@@ -690,6 +690,11 @@ public class LoadKotlinWithTypeTableTestGenerated extends AbstractLoadKotlinWith
runTest("compiler/testData/loadJava/compiledKotlin/class/RecursiveGeneric.kt");
}
@TestMetadata("SealedClass.kt")
public void testSealedClass() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");
@@ -2381,6 +2381,11 @@ public class IrLoadJavaTestGenerated extends AbstractIrLoadJavaTest {
runTest("compiler/testData/loadJava/compiledKotlin/class/RecursiveGeneric.kt");
}
@TestMetadata("SealedClass.kt")
public void testSealedClass() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");
@@ -2381,6 +2381,11 @@ public class LoadJavaUsingJavacTestGenerated extends AbstractLoadJavaUsingJavacT
runTest("compiler/testData/loadJava/compiledKotlin/class/RecursiveGeneric.kt");
}
@TestMetadata("SealedClass.kt")
public void testSealedClass() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SealedClass.kt");
}
@TestMetadata("SingleAbstractMethod.kt")
public void testSingleAbstractMethod() throws Exception {
runTest("compiler/testData/loadJava/compiledKotlin/class/SingleAbstractMethod.kt");