mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
generate: pass class context to correct resolve of param types (IDEA-53337)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
class Parent<T> {
|
||||
T field;
|
||||
|
||||
public Parent(T field) {
|
||||
this.field = field;
|
||||
}
|
||||
}
|
||||
|
||||
class Child<Integer> extends Parent<Integer> {
|
||||
Child(Integer field) {
|
||||
super(field);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Parent<T> {
|
||||
T field;
|
||||
|
||||
public Parent(T field) {
|
||||
this.field = field;
|
||||
}
|
||||
}
|
||||
|
||||
class Child<Integer> extends Parent<Integer> {
|
||||
<caret>
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user