K1: Deprecate incorrect callable references resolution behavior
^KT-54316 Related ^KT-54832 Fixed
This commit is contained in:
committed by
Space Team
parent
a3fd63fb1d
commit
2953e600ff
+12
@@ -2706,6 +2706,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/callableReferenceWithMostSpecificGenericTypeParameter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("callableReferencesToCompanionMembers.kt")
|
||||
public void testCallableReferencesToCompanionMembers() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/callableReferencesToCompanionMembers.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classVsPackage.kt")
|
||||
public void testClassVsPackage() throws Exception {
|
||||
@@ -2742,6 +2748,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecateTopLevelReferenceWithCompanionLHS.kt")
|
||||
public void testDeprecateTopLevelReferenceWithCompanionLHS() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/deprecateTopLevelReferenceWithCompanionLHS.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("deprecatedCompanionReceiverInParentheses.kt")
|
||||
public void testDeprecatedCompanionReceiverInParentheses() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user