Added diagnostic test for Array<T> instances usage

when T is not reified
This commit is contained in:
Denis Zharkov
2014-11-10 10:39:17 +04:00
committed by Andrey Breslav
parent e768b4e285
commit eec4b7094c
4 changed files with 176 additions and 0 deletions
@@ -635,6 +635,12 @@ public class JetDiagnosticsTestWithStdLibGenerated extends AbstractJetDiagnostic
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/testsWithStdLib/reified"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("nonCallableReiefied.kt")
public void testNonCallableReiefied() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/reified/nonCallableReiefied.kt");
doTest(fileName);
}
@TestMetadata("reifiedNothingSubstitution.kt")
public void testReifiedNothingSubstitution() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/testsWithStdLib/reified/reifiedNothingSubstitution.kt");