PSI2IR: capture adapted reference receiver to a local val if required
This commit is contained in:
@@ -1348,6 +1348,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/ir/irText/expressions/callableReferences"), Pattern.compile("^(.+)\\.kt$"), null, true);
|
||||
}
|
||||
|
||||
@TestMetadata("constructorWithAdaptedArguments.kt")
|
||||
public void testConstructorWithAdaptedArguments() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericMember.kt")
|
||||
public void testGenericMember() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt");
|
||||
@@ -1368,6 +1373,11 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withArgumentAdaptationAndReceiver.kt")
|
||||
public void testWithArgumentAdaptationAndReceiver() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("withVarargViewedAsArray.kt")
|
||||
public void testWithVarargViewedAsArray() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/withVarargViewedAsArray.kt");
|
||||
|
||||
Reference in New Issue
Block a user