mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-30 10:20:15 +07:00
code generation: ensure parameter is created with denotable type
EA-69807 - AIOOBE: PsiElementFactoryImpl.createParameter
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Implement methods" "true"
|
||||
interface I<T> {
|
||||
void m(I<? extends T> i, T v);
|
||||
}
|
||||
class Impl implements I<? super Number> {
|
||||
@Override
|
||||
public void m(I<?> i, Object v) {
|
||||
<caret>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Implement methods" "true"
|
||||
interface I<T> {
|
||||
void m(I<? extends T> i, T v);
|
||||
}
|
||||
class I<caret>mpl implements I<? super Number> {
|
||||
}
|
||||
Reference in New Issue
Block a user