[Parser] Do not support local contextual declarations

This commit is contained in:
Anastasiya Shadrina
2021-12-03 21:39:22 +07:00
committed by teamcity
parent 4fd61ad1b0
commit 4d3035e2f7
22 changed files with 48 additions and 336 deletions
@@ -10582,6 +10582,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/ambiguityInGroup.kt");
}
@Test
@TestMetadata("contextKeywordWithElvis.kt")
public void testContextKeywordWithElvis() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/contextKeywordWithElvis.kt");
}
@Test
@TestMetadata("contextReceiverTypeParamsUsage.kt")
public void testContextReceiverTypeParamsUsage() throws Exception {
@@ -10630,12 +10636,6 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/lazy.kt");
}
@Test
@TestMetadata("localDeclaration.kt")
public void testLocalDeclaration() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/localDeclaration.kt");
}
@Test
@TestMetadata("manyReceivers.kt")
public void testManyReceivers() throws Exception {