[FIR JS] Reproduce KT-64548
Running the FIR tests leads to the crash. ^KT-64548
This commit is contained in:
committed by
Space Team
parent
e60a436068
commit
9a598026c8
+6
@@ -10824,6 +10824,12 @@ public class FirJsBoxTestGenerated extends AbstractFirJsBoxTest {
|
|||||||
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("errorCodeDelegatedConstructorCall.kt")
|
||||||
|
public void testErrorCodeDelegatedConstructorCall() throws Exception {
|
||||||
|
runTest("js/js.translator/testData/box/simple/errorCodeDelegatedConstructorCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("if.kt")
|
@TestMetadata("if.kt")
|
||||||
public void testIf() throws Exception {
|
public void testIf() throws Exception {
|
||||||
|
|||||||
+6
@@ -10930,6 +10930,12 @@ public class FirJsES6BoxTestGenerated extends AbstractFirJsES6BoxTest {
|
|||||||
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("errorCodeDelegatedConstructorCall.kt")
|
||||||
|
public void testErrorCodeDelegatedConstructorCall() throws Exception {
|
||||||
|
runTest("js/js.translator/testData/box/simple/errorCodeDelegatedConstructorCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("if.kt")
|
@TestMetadata("if.kt")
|
||||||
public void testIf() throws Exception {
|
public void testIf() throws Exception {
|
||||||
|
|||||||
+6
@@ -10930,6 +10930,12 @@ public class IrBoxJsES6TestGenerated extends AbstractIrBoxJsES6Test {
|
|||||||
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("errorCodeDelegatedConstructorCall.kt")
|
||||||
|
public void testErrorCodeDelegatedConstructorCall() throws Exception {
|
||||||
|
runTest("js/js.translator/testData/box/simple/errorCodeDelegatedConstructorCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("if.kt")
|
@TestMetadata("if.kt")
|
||||||
public void testIf() throws Exception {
|
public void testIf() throws Exception {
|
||||||
|
|||||||
+6
@@ -10824,6 +10824,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
|||||||
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
runTest("js/js.translator/testData/box/simple/elseif.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("errorCodeDelegatedConstructorCall.kt")
|
||||||
|
public void testErrorCodeDelegatedConstructorCall() throws Exception {
|
||||||
|
runTest("js/js.translator/testData/box/simple/errorCodeDelegatedConstructorCall.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("if.kt")
|
@TestMetadata("if.kt")
|
||||||
public void testIf() throws Exception {
|
public void testIf() throws Exception {
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
// ISSUE: KT-64548
|
||||||
|
|
||||||
|
open external class Light {
|
||||||
|
constructor(hex: Number = definedExternally, intensity: Number = definedExternally)
|
||||||
|
constructor(hex: String = definedExternally, intensity: Number = definedExternally)
|
||||||
|
}
|
||||||
|
|
||||||
|
open external class HemisphereLight : Light {
|
||||||
|
constructor(intensity: Number = definedExternally)
|
||||||
|
}
|
||||||
|
|
||||||
|
fun box() = "OK"
|
||||||
Reference in New Issue
Block a user