[KJS] Throw exception on recursive types provided to typeOf and provide proper support later within KT-40173
#KT-38140 fixed
This commit is contained in:
Generated
+10
@@ -22412,6 +22412,16 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/innerGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveBoundWithInline.kt")
|
||||
public void testRecursiveBoundWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveBoundWithoutInline.kt")
|
||||
public void testRecursiveBoundWithoutInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithoutInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleClassParameter.kt")
|
||||
public void testSimpleClassParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt");
|
||||
|
||||
Generated
+10
@@ -22412,6 +22412,16 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/innerGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveBoundWithInline.kt")
|
||||
public void testRecursiveBoundWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveBoundWithoutInline.kt")
|
||||
public void testRecursiveBoundWithoutInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithoutInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleClassParameter.kt")
|
||||
public void testSimpleClassParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt");
|
||||
|
||||
+10
@@ -22427,6 +22427,16 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/innerGeneric.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveBoundWithInline.kt")
|
||||
public void testRecursiveBoundWithInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("recursiveBoundWithoutInline.kt")
|
||||
public void testRecursiveBoundWithoutInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/recursiveBoundWithoutInline.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("simpleClassParameter.kt")
|
||||
public void testSimpleClassParameter() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/typeOf/nonReifiedTypeParameters/simpleClassParameter.kt");
|
||||
|
||||
Reference in New Issue
Block a user