java 8: allow to cast to intersection types

This commit is contained in:
Anna Kozlova
2014-02-19 09:46:17 +01:00
parent d22feaa947
commit 1b0e87f99e
3 changed files with 20 additions and 0 deletions
@@ -739,6 +739,10 @@ public class GenericsHighlighting8Test extends LightDaemonAnalyzerTestCase {
doTest();
}
public void testCastToIntersectionType() throws Exception {
doTest();
}
private void doTest() {
doTest(false);
}