Fix compatibility resolve for references with multiple outer candidates
#KT-39533 Fixed
This commit is contained in:
+15
@@ -1794,6 +1794,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/classVsPackage.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compatibilityResolveWithVarargAndOperatorCall.kt")
|
||||
public void testCompatibilityResolveWithVarargAndOperatorCall() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/compatibilityResolveWithVarargAndOperatorCall.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("constraintFromLHSWithCorrectDirection.kt")
|
||||
public void testConstraintFromLHSWithCorrectDirection() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/constraintFromLHSWithCorrectDirection.kt");
|
||||
@@ -1804,6 +1809,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/constraintFromLHSWithCorrectDirectionError.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("correctCandidateWithCompatibilityForSeveralCandidates.kt")
|
||||
public void testCorrectCandidateWithCompatibilityForSeveralCandidates() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/correctCandidateWithCompatibilityForSeveralCandidates.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("correctInfoAfterArrayLikeCall.kt")
|
||||
public void testCorrectInfoAfterArrayLikeCall() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt");
|
||||
@@ -1974,6 +1984,11 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/typealiases.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unitAdaptationForReferenceCompatibility.kt")
|
||||
public void testUnitAdaptationForReferenceCompatibility() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/unitAdaptationForReferenceCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("unused.kt")
|
||||
public void testUnused() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/unused.kt");
|
||||
|
||||
Reference in New Issue
Block a user