[FE] Prohibit explicit @ContextFunctionTypeParams usage

This commit is contained in:
Anastasiya Shadrina
2021-09-19 18:12:06 +07:00
committed by TeamCityServer
parent a091b345a0
commit b3591e77be
10 changed files with 78 additions and 1 deletions
@@ -10582,6 +10582,18 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/ambiguityInGroup.kt");
}
@Test
@TestMetadata("contextReceiverTypeParamsUsage.kt")
public void testContextReceiverTypeParamsUsage() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/contextReceiverTypeParamsUsage.kt");
}
@Test
@TestMetadata("contextReceiverTypeParamsUsageError.kt")
public void testContextReceiverTypeParamsUsageError() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/contextReceiverTypeParamsUsageError.kt");
}
@Test
@TestMetadata("functionalType.kt")
public void testFunctionalType() throws Exception {