Compatibility warning for references to companion via name (KT-13934)
This commit is contained in:
@@ -1946,6 +1946,16 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTestWithFirVali
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/referenceAdaptationCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionObjectMemberViaClassName.kt")
|
||||
public void testReferenceToCompanionObjectMemberViaClassName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/referenceToCompanionObjectMemberViaClassName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionObjectMemberViaClassNameCompatibility.kt")
|
||||
public void testReferenceToCompanionObjectMemberViaClassNameCompatibility() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/referenceToCompanionObjectMemberViaClassNameCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rewriteAtSliceOnGetOperator.kt")
|
||||
public void testRewriteAtSliceOnGetOperator() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/rewriteAtSliceOnGetOperator.kt");
|
||||
|
||||
Generated
+10
@@ -1941,6 +1941,16 @@ public class DiagnosticsUsingJavacTestGenerated extends AbstractDiagnosticsUsing
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/referenceAdaptationCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionObjectMemberViaClassName.kt")
|
||||
public void testReferenceToCompanionObjectMemberViaClassName() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/referenceToCompanionObjectMemberViaClassName.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionObjectMemberViaClassNameCompatibility.kt")
|
||||
public void testReferenceToCompanionObjectMemberViaClassNameCompatibility() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/referenceToCompanionObjectMemberViaClassNameCompatibility.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("rewriteAtSliceOnGetOperator.kt")
|
||||
public void testRewriteAtSliceOnGetOperator() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/callableReference/rewriteAtSliceOnGetOperator.kt");
|
||||
|
||||
+5
@@ -2705,6 +2705,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/privateClassMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionMember.kt")
|
||||
public void testReferenceToCompanionMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/referenceToCompanionMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sortListOfStrings.kt")
|
||||
public void testSortListOfStrings() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt");
|
||||
|
||||
+5
@@ -2705,6 +2705,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/privateClassMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionMember.kt")
|
||||
public void testReferenceToCompanionMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/referenceToCompanionMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sortListOfStrings.kt")
|
||||
public void testSortListOfStrings() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt");
|
||||
|
||||
+5
@@ -2685,6 +2685,11 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/privateClassMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("referenceToCompanionMember.kt")
|
||||
public void testReferenceToCompanionMember() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/referenceToCompanionMember.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("sortListOfStrings.kt")
|
||||
public void testSortListOfStrings() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/callableReference/function/sortListOfStrings.kt");
|
||||
|
||||
Reference in New Issue
Block a user