KT-36024 Generate adapted callable references as lambdas
Make sure both JVM and JVM_IR use the same information to determine whether a callable reference requires argument adaptation.
This commit is contained in:
committed by
Alexander Udalov
parent
ddf7f53118
commit
d1c5a42124
+5
@@ -2003,6 +2003,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/nested.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("noReflectionForAdaptedCallableReferences.kt")
|
||||
public void testNoReflectionForAdaptedCallableReferences() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/noReflectionForAdaptedCallableReferences.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("optimizedSuperclasses_after.kt")
|
||||
public void testOptimizedSuperclasses_after() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/optimizedSuperclasses_after.kt");
|
||||
|
||||
Reference in New Issue
Block a user