Compatibility warning for references to companion via name (KT-13934)
This commit is contained in:
+10
@@ -1939,6 +1939,16 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
|
||||
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
+5
@@ -2685,6 +2685,11 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
|
||||
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