JVM_IR KT-46839 lower varargs for *arrayOf function references

This commit is contained in:
Dmitry Petrov
2021-05-21 15:44:46 +03:00
committed by teamcityserver
parent 6ca7b39f6a
commit ba00709e4d
14 changed files with 214 additions and 32 deletions
@@ -2165,11 +2165,21 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/arrayConstructorArgument.kt");
}
@TestMetadata("arrayOf.kt")
public void testArrayOf() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/arrayOf.kt");
}
@TestMetadata("builtinFunctionReferenceOwner.kt")
public void testBuiltinFunctionReferenceOwner() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/builtinFunctionReferenceOwner.kt");
}
@TestMetadata("charArrayOf.kt")
public void testCharArrayOf() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/charArrayOf.kt");
}
@TestMetadata("classesAreSynthetic.kt")
public void testClassesAreSynthetic() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/classesAreSynthetic.kt");
@@ -17903,6 +17913,16 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/arrayConstructor.kt");
}
@TestMetadata("arrayOf.kt")
public void testArrayOf() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/arrayOf.kt");
}
@TestMetadata("charArrayOf.kt")
public void testCharArrayOf() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/charArrayOf.kt");
}
@TestMetadata("enumValueOf.kt")
public void testEnumValueOf() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/specialFunctions/enumValueOf.kt");