[Parser] Do not support local contextual declarations
This commit is contained in:
committed by
teamcity
parent
4fd61ad1b0
commit
4d3035e2f7
+6
-6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user