mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 20:42:52 +07:00
resolve on nested captures (IDEA-156170)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
class Test {
|
||||
public void entitySetChanged(EntitySetEvent<? extends Number> event) {
|
||||
event.getUpdatedEntities().forEach(entity -> {
|
||||
entity.intValue();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
interface EntitySetEvent<V> {
|
||||
Collection<? extends V> getUpdatedEntities();
|
||||
}
|
||||
+4
@@ -990,4 +990,8 @@ public class GenericsHighlighting8Test extends LightDaemonAnalyzerTestCase {
|
||||
public void testUnifiedSubstitutorUpInTheHierarchy() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
|
||||
public void testNestedCaptures() throws Exception {
|
||||
doTest();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user