JVM_IR: support vararg & defaults in function references
This commit is contained in:
+10
@@ -2210,6 +2210,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelStringOneStringArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelFromTopLevelUnitManyArgs.kt")
|
||||
public void testTopLevelFromTopLevelUnitManyArgs() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitManyArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("topLevelFromTopLevelUnitNoArgs.kt")
|
||||
public void testTopLevelFromTopLevelUnitNoArgs() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/topLevelFromTopLevelUnitNoArgs.kt");
|
||||
@@ -2577,6 +2582,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/varargAndDefaults/innerConstructorWithVararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("largeVararg.kt")
|
||||
public void testLargeVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/varargAndDefaults/largeVararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("localFunctionWithDefault.kt")
|
||||
public void testLocalFunctionWithDefault() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/varargAndDefaults/localFunctionWithDefault.kt");
|
||||
|
||||
Reference in New Issue
Block a user