Add test for using underscored type in different positions

This commit is contained in:
Victor Petukhov
2021-10-27 12:56:23 +03:00
parent d1acb09add
commit c8dea3db35
9 changed files with 234 additions and 4 deletions
@@ -13485,6 +13485,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/inference/underscoredTypeArgument.kt");
}
@Test
@TestMetadata("underscoredTypeInForbiddenPositions.kt")
public void testUnderscoredTypeInForbiddenPositions() throws Exception {
runTest("compiler/testData/diagnostics/tests/inference/underscoredTypeInForbiddenPositions.kt");
}
@Test
@TestMetadata("useFunctionLiteralsToInferType.kt")
public void testUseFunctionLiteralsToInferType() throws Exception {