JVM IR: Turn static callable references into singletons
This commit is contained in:
committed by
Dmitry Petrov
parent
ac5c255c20
commit
bb5a639153
+10
@@ -2396,6 +2396,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/specialCalls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("staticFunctionReference.kt")
|
||||
public void testStaticFunctionReference() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/staticFunctionReference.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelFromClass.kt")
|
||||
public void testTopLevelFromClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromClass.kt");
|
||||
@@ -4182,6 +4187,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/closures/simplestClosureAndBoxing.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("staticLambda.kt")
|
||||
public void testStaticLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/staticLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subclosuresWithinInitializers.kt")
|
||||
public void testSubclosuresWithinInitializers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/closures/subclosuresWithinInitializers.kt");
|
||||
|
||||
Reference in New Issue
Block a user