erasure type of new expression if diamonds were used and during applicability check unchecked conversion was applied (IDEA-154009)

This commit is contained in:
Anna.Kozlova
2016-04-01 16:53:23 +02:00
parent 874d1a07d3
commit c1c40665ce
4 changed files with 54 additions and 0 deletions
@@ -63,6 +63,10 @@ public class Diamond8HighlightingTest extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testEraseTypeForNewExpressionWithDiamondsIfUncheckedConversionWasPerformedDuringApplicabilityCheck() throws Exception {
doTest();
}
private void doTest() throws Exception {
doTest(BASE_PATH + "/" + getTestName(false) + ".java", false, false);
}