[K/N] Disable scope initialization on constant access
^KT-57098
This commit is contained in:
committed by
Space Team
parent
e6297f92fa
commit
62fb3df7f0
+6
@@ -6338,6 +6338,12 @@ public class K2NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTes
|
||||
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
@@ -6265,6 +6265,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
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