[Tests] Add a test with type parameter as a context receiver

This commit is contained in:
Anastasiya Shadrina
2021-11-18 16:57:20 +07:00
committed by TeamCityServer
parent 752bc299f1
commit a70036c945
13 changed files with 118 additions and 0 deletions
@@ -10726,6 +10726,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/thisWithReceiverLabelsProperties.kt");
}
@Test
@TestMetadata("typeParameterAsContextReceiver.kt")
public void testTypeParameterAsContextReceiver() throws Exception {
runTest("compiler/testData/diagnostics/tests/extensions/contextReceivers/typeParameterAsContextReceiver.kt");
}
@Test
@TestMetadata("typeParameterized.kt")
public void testTypeParameterized() throws Exception {