K2: add test to reproduce KT-64266

This commit is contained in:
Mikhail Glukhikh
2023-12-19 14:19:25 +01:00
committed by Space Team
parent 81efc8d7c7
commit 44aa2d86d3
10 changed files with 134 additions and 0 deletions
@@ -22880,6 +22880,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
}
@Test
@TestMetadata("LambdaNonGeneric.kt")
public void testLambdaNonGeneric() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGeneric.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
@TestDataPath("$PROJECT_ROOT")
@@ -22886,6 +22886,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
}
@Test
@TestMetadata("LambdaNonGeneric.kt")
public void testLambdaNonGeneric() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/LambdaNonGeneric.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
@TestDataPath("$PROJECT_ROOT")