K2: report MISSING_DEPENDENCY_CLASS for lambda parameters if needed

#KT-62525 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-12-01 15:20:28 +01:00
committed by Space Team
parent c03830556f
commit 06ce57ea56
23 changed files with 325 additions and 41 deletions
@@ -22742,6 +22742,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/javac/Annotations.kt");
}
@Test
@TestMetadata("Lambda.kt")
public void testLambda() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
@TestDataPath("$PROJECT_ROOT")
@@ -22742,6 +22742,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/javac/Annotations.kt");
}
@Test
@TestMetadata("Lambda.kt")
public void testLambda() throws Exception {
runTest("compiler/testData/diagnostics/tests/javac/Lambda.kt");
}
@Nested
@TestMetadata("compiler/testData/diagnostics/tests/javac/fieldsResolution")
@TestDataPath("$PROJECT_ROOT")