[JS IR] Wrap private top level function with internal accessor stub
In case internal inline function references private top level function after inline such function (T.L.P.) couldn't be referenced in klib and IC cache. So create internally visible accessors for P.T.L. function similar to what JVM backend does. - add box test
This commit is contained in:
committed by
TeamCityServer
parent
b3dbca7ea6
commit
d3ddeef67f
+5
@@ -18865,6 +18865,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
public void testEnumEntryArguments() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/enumEntryArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("privateLeakThroughInline.kt")
|
||||
public void testPrivateLeakThroughInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/privateSignatures/privateLeakThroughInline.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/ir/serializationRegressions")
|
||||
|
||||
Reference in New Issue
Block a user