Deprecate (V)::a reference resolution to companion in FE 1.0

^KT-45315 Fixed
This commit is contained in:
Denis.Zharkov
2021-06-17 16:20:11 +03:00
committed by TeamCityServer
parent 46b297477c
commit 7645663d12
19 changed files with 152 additions and 15 deletions
@@ -2231,6 +2231,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt");
}
@Test
@TestMetadata("deprecatedCompanionReceiverInParentheses.kt")
public void testDeprecatedCompanionReceiverInParentheses() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/deprecatedCompanionReceiverInParentheses.kt");
}
@Test
@TestMetadata("ea81649_errorPropertyLHS.kt")
public void testEa81649_errorPropertyLHS() throws Exception {
@@ -2231,6 +2231,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/callableReference/correctInfoAfterArrayLikeCall.kt");
}
@Test
@TestMetadata("deprecatedCompanionReceiverInParentheses.kt")
public void testDeprecatedCompanionReceiverInParentheses() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/deprecatedCompanionReceiverInParentheses.kt");
}
@Test
@TestMetadata("ea81649_errorPropertyLHS.kt")
public void testEa81649_errorPropertyLHS() throws Exception {