[Test] Add test reproducing incorrect error in K2 about super qualifier

...with type arguments.
Also, add lazy resolve test to check the subsequent changes are correct.

^KT-66150
This commit is contained in:
Roman Efremov
2024-03-12 10:18:44 +01:00
committed by Space Team
parent a38d317824
commit c4f89ab32e
14 changed files with 897 additions and 0 deletions
@@ -1401,6 +1401,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/StringTemplates.kt");
}
@Test
@TestMetadata("superQualifierTypeArgsInDelegatedConstructorCall.kt")
public void testSuperQualifierTypeArgsInDelegatedConstructorCall() {
runTest("compiler/testData/diagnostics/tests/superQualifierTypeArgsInDelegatedConstructorCall.kt");
}
@Test
@TestMetadata("SupertypeListChecks.kt")
public void testSupertypeListChecks() {
@@ -1401,6 +1401,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/StringTemplates.kt");
}
@Test
@TestMetadata("superQualifierTypeArgsInDelegatedConstructorCall.kt")
public void testSuperQualifierTypeArgsInDelegatedConstructorCall() {
runTest("compiler/testData/diagnostics/tests/superQualifierTypeArgsInDelegatedConstructorCall.kt");
}
@Test
@TestMetadata("SupertypeListChecks.kt")
public void testSupertypeListChecks() {