JS: fix reified T::class for primitive T (e.g. Int) (KT-32215 fixed)
This commit is contained in:
+10
@@ -6703,6 +6703,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kClassOnReifiedTypeInLambda-advanced.kt")
|
||||
public void testKClassOnReifiedTypeInLambda_advanced() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda-advanced.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kClassSimpleName.kt")
|
||||
public void testKClassSimpleName() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
|
||||
@@ -6713,6 +6718,11 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassToAndFromJsClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitiveKClassOnReifiedType.kt")
|
||||
public void testPrimitiveKClassOnReifiedType() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/primitiveKClassOnReifiedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/primitives.kt");
|
||||
|
||||
+10
@@ -6738,6 +6738,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kClassOnReifiedTypeInLambda-advanced.kt")
|
||||
public void testKClassOnReifiedTypeInLambda_advanced() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassOnReifiedTypeInLambda-advanced.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kClassSimpleName.kt")
|
||||
public void testKClassSimpleName() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassSimpleName.kt");
|
||||
@@ -6748,6 +6753,11 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/reflection/kClassToAndFromJsClass.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitiveKClassOnReifiedType.kt")
|
||||
public void testPrimitiveKClassOnReifiedType() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/primitiveKClassOnReifiedType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("primitives.kt")
|
||||
public void testPrimitives() throws Exception {
|
||||
runTest("js/js.translator/testData/box/reflection/primitives.kt");
|
||||
|
||||
Reference in New Issue
Block a user