PSI2IR KT-44414 fix adapted reference to imported object member
This commit is contained in:
committed by
TeamCityServer
parent
e7129329d2
commit
d74168fb8f
+6
@@ -2522,6 +2522,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
@TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AdaptedReferences {
|
||||
@Test
|
||||
@TestMetadata("adaptedVarargFunImportedFromObject.kt")
|
||||
public void testAdaptedVarargFunImportedFromObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedVarargFunImportedFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAdaptedReferences() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM, true);
|
||||
|
||||
+6
@@ -2522,6 +2522,12 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
@TestMetadata("compiler/testData/codegen/box/callableReference/adaptedReferences")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
public class AdaptedReferences {
|
||||
@Test
|
||||
@TestMetadata("adaptedVarargFunImportedFromObject.kt")
|
||||
public void testAdaptedVarargFunImportedFromObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/adaptedReferences/adaptedVarargFunImportedFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAllFilesPresentInAdaptedReferences() throws Exception {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/callableReference/adaptedReferences"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
|
||||
|
||||
Generated
+6
@@ -1829,6 +1829,12 @@ public class IrTextTestGenerated extends AbstractIrTextTest {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("varargFunImportedFromObject.kt")
|
||||
public void testVarargFunImportedFromObject() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/callableReferences/varargFunImportedFromObject.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("withAdaptationForSam.kt")
|
||||
public void testWithAdaptationForSam() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user