[PSI2IR] Check how contextual functional type works with IR

This commit is contained in:
Anastasiya Shadrina
2021-11-18 16:04:22 +07:00
committed by TeamCityServer
parent a59b9e78ac
commit 08570a37b8
13 changed files with 217 additions and 0 deletions
@@ -16199,6 +16199,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextAndExtensionSameName.kt");
}
@Test
@TestMetadata("contextualFunctionConversion.kt")
public void testContextualFunctionConversion() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/contextualFunctionConversion.kt");
}
@Test
@TestMetadata("delegatedPropertiesOperators.kt")
public void testDelegatedPropertiesOperators() throws Exception {
@@ -16235,6 +16241,12 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/overloading.kt");
}
@Test
@TestMetadata("passingLambdaToContextualParam.kt")
public void testPassingLambdaToContextualParam() throws Exception {
runTest("compiler/testData/codegen/box/extensionFunctions/contextReceivers/passingLambdaToContextualParam.kt");
}
@Test
@TestMetadata("plusAssign.kt")
public void testPlusAssign() throws Exception {
@@ -775,6 +775,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/compoundAssignmentOperators.kt");
}
@Test
@TestMetadata("contextualFunctionConversion.kt")
public void testContextualFunctionConversion() throws Exception {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/contextualFunctionConversion.kt");
}
@Test
@TestMetadata("contextualPrimaryConstructorWithParams.kt")
public void testContextualPrimaryConstructorWithParams() throws Exception {
@@ -835,6 +841,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/overloading.kt");
}
@Test
@TestMetadata("passingLambdaToContextualParam.kt")
public void testPassingLambdaToContextualParam() throws Exception {
runTest("compiler/testData/ir/irText/declarations/contextReceivers/passingLambdaToContextualParam.kt");
}
@Test
@TestMetadata("plusMatrix.kt")
public void testPlusMatrix() throws Exception {