mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
extends type parameter: allow wildcards (IDEA-162229)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// "Make 'T' extend 'java.lang.Enum'" "true"
|
||||
|
||||
class EnumGeneric<T extends Enum<?>> {
|
||||
}
|
||||
|
||||
class WithEnum<T extends Enum<?>> extends EnumGeneric<T> {
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Make 'T' extend 'java.lang.Enum'" "true"
|
||||
|
||||
class EnumGeneric<T extends Enum<?>> {
|
||||
}
|
||||
|
||||
class WithEnum<T> extends EnumGeneric<<caret>T> {
|
||||
}
|
||||
Reference in New Issue
Block a user