mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
override/implement: do not add type parameters from super method if supercalss was erased (IDEA-142453)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
class Foo<T> {
|
||||
<S> S foo(T foo) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class Bar<S> extends Foo {
|
||||
@Override
|
||||
Object foo(Object foo) {
|
||||
<selection>return super.foo(foo);</selection>
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Foo<T> {
|
||||
<S> S foo(T foo) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
class Bar<S> extends Foo {
|
||||
<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user