Implement missing invoke resolution branch with context receivers
#KT-61937 fixed Note: the current implementation only resolves for a single receiver in each group. See KT-62712 and KT-62709 for the followup.
This commit is contained in:
committed by
Space Team
parent
b89d8a65a1
commit
268d058bbb
Generated
+6
@@ -12693,6 +12693,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
|
||||
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/labelsFromClassNameForbidden.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaReceiverFromContext.kt")
|
||||
public void testLambdaReceiverFromContext() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/lambdaReceiverFromContext.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lazy.kt")
|
||||
public void testLazy() throws Exception {
|
||||
|
||||
+6
@@ -17883,6 +17883,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/extensionClasses/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaReceiverFromContext.kt")
|
||||
public void testLambdaReceiverFromContext() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionClasses/lambdaReceiverFromContext.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiple.kt")
|
||||
public void testMultiple() throws Exception {
|
||||
|
||||
+6
@@ -17883,6 +17883,12 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
|
||||
runTest("compiler/testData/codegen/box/extensionClasses/generics.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaReceiverFromContext.kt")
|
||||
public void testLambdaReceiverFromContext() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/extensionClasses/lambdaReceiverFromContext.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("multiple.kt")
|
||||
public void testMultiple() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user