No more reified types for catch parameter #KT-9742 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-11-27 18:23:47 +03:00
parent f0e467e474
commit c6be69a483
7 changed files with 63 additions and 5 deletions
@@ -3240,6 +3240,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/controlStructures"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("catchGenerics.kt")
public void testCatchGenerics() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/controlStructures/catchGenerics.kt");
doTest(fileName);
}
@TestMetadata("commonSupertypeOfT.kt")
public void testCommonSupertypeOfT() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/controlStructures/commonSupertypeOfT.kt");