mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
illegal generics instanceof (IDEA-89765)
This commit is contained in:
+14
@@ -37,3 +37,17 @@ class BreakpointTree<TP> {
|
||||
}
|
||||
class Node {}
|
||||
class XBreakpoint<SR>{}
|
||||
|
||||
public class GenericInnerClass<E> {
|
||||
private void problem( Base base ) {
|
||||
if ( base instanceof First) {}
|
||||
}
|
||||
|
||||
private class Base {
|
||||
}
|
||||
|
||||
private class First<T> extends Base {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user