K2: Add KtDiagnosticRenderers.CLASS_ID to render ClassId FQNs with dots

KT-MR-13391
This commit is contained in:
Alexey Belkov
2023-12-07 15:52:41 +04:00
committed by Space Team
parent 1766d0e86a
commit f53f92cdd6
8 changed files with 117 additions and 7 deletions
@@ -5290,6 +5290,12 @@ public class DiagnosticCompilerTestFirTestdataTestGenerated extends AbstractDiag
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/castForFunctionsWithDifferentArities.kt");
}
@Test
@TestMetadata("ClassIdDiagnosticRendering.kt")
public void testClassIdDiagnosticRendering() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/ClassIdDiagnosticRendering.kt");
}
@Test
@TestMetadata("classLiteralForParameter.kt")
public void testClassLiteralForParameter() throws Exception {
@@ -5290,6 +5290,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/castForFunctionsWithDifferentArities.kt");
}
@Test
@TestMetadata("ClassIdDiagnosticRendering.kt")
public void testClassIdDiagnosticRendering() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/ClassIdDiagnosticRendering.kt");
}
@Test
@TestMetadata("classLiteralForParameter.kt")
public void testClassLiteralForParameter() throws Exception {