JVM_IR: remove a hack from InlineCallableReferenceToLambda

It breaks other things, the same problem is hit by FunctionReference,
and it's the translation layer's fault anyway.

 #KT-46555 Fixed
This commit is contained in:
pyos
2021-05-10 11:52:31 +02:00
committed by teamcityserver
parent cff74b31d4
commit a37db99841
11 changed files with 111 additions and 20 deletions
@@ -2782,6 +2782,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/function/argumentTypes.kt");
}
@TestMetadata("argumentTypesNoinline.kt")
public void testArgumentTypesNoinline() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/argumentTypesNoinline.kt");
}
@TestMetadata("booleanNotIntrinsic.kt")
public void testBooleanNotIntrinsic() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/booleanNotIntrinsic.kt");
@@ -2837,6 +2842,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/callableReference/function/constructorFromTopLevelOneStringArg.kt");
}
@TestMetadata("dispatchReceiverType.kt")
public void testDispatchReceiverType() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/dispatchReceiverType.kt");
}
@TestMetadata("enumValueOfMethod.kt")
public void testEnumValueOfMethod() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/function/enumValueOfMethod.kt");