Account for context class receivers when creating the ExpressionReceiver

^KT-54084 Fixed
This commit is contained in:
Nikita Nazarov
2022-09-19 03:46:42 +03:00
committed by Nikita Nazarov
parent f578381726
commit bd742bb95c
12 changed files with 227 additions and 4 deletions
@@ -613,6 +613,11 @@ public class KlibTextTestCaseGenerated extends AbstractKlibTextTestCase {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/class.kt");
}
@TestMetadata("contextReceiverMethod.kt")
public void testContextReceiverMethod() throws Exception {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextReceiverMethod.kt");
}
@TestMetadata("contextualPrimaryConstructorWithParams.kt")
public void testContextualPrimaryConstructorWithParams() throws Exception {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextualPrimaryConstructorWithParams.kt");