[FIR] Add more tests for RESERVED_SYNTAX_IN_CALLABLE_REFERENCE_LHS

It's a bit hard to reason about how different
diagnostics correspond to one another from
the existing tests.

^KT-59835
This commit is contained in:
Nikolay Lunyak
2024-01-22 13:44:45 +02:00
committed by Space Team
parent c8fb0d4574
commit 4fed4b6640
7 changed files with 178 additions and 0 deletions
@@ -4859,6 +4859,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/callableReference/bound/reservedExpressionSyntax3.kt");
}
@Test
@TestMetadata("reservedExpressionSyntax4.kt")
public void testReservedExpressionSyntax4() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/bound/reservedExpressionSyntax4.kt");
}
@Test
@TestMetadata("syntheticExtensionOnLHS.kt")
public void testSyntheticExtensionOnLHS() throws Exception {
@@ -4859,6 +4859,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/callableReference/bound/reservedExpressionSyntax3.kt");
}
@Test
@TestMetadata("reservedExpressionSyntax4.kt")
public void testReservedExpressionSyntax4() throws Exception {
runTest("compiler/testData/diagnostics/tests/callableReference/bound/reservedExpressionSyntax4.kt");
}
@Test
@TestMetadata("syntheticExtensionOnLHS.kt")
public void testSyntheticExtensionOnLHS() throws Exception {