[K/N] Disable scope initialization on constant access
^KT-57098
This commit is contained in:
committed by
Space Team
parent
e6297f92fa
commit
62fb3df7f0
+6
@@ -5369,6 +5369,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/constants/divisionByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doNotTriggerInit.kt")
|
||||
public void testDoNotTriggerInit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/doNotTriggerInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
|
||||
+6
@@ -5429,6 +5429,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/constants/divisionByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doNotTriggerInit.kt")
|
||||
public void testDoNotTriggerInit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/doNotTriggerInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
|
||||
+6
@@ -5429,6 +5429,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/constants/divisionByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doNotTriggerInit.kt")
|
||||
public void testDoNotTriggerInit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/doNotTriggerInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
|
||||
+6
@@ -5429,6 +5429,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/constants/divisionByZero.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doNotTriggerInit.kt")
|
||||
public void testDoNotTriggerInit() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/constants/doNotTriggerInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("float.kt")
|
||||
public void testFloat() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user