mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
testdata for IDEA-57539
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
class E<T> {
|
||||
Class<T[]> o = <error descr="Cannot select from a type variable">T[]</error>.class;
|
||||
}
|
||||
|
||||
class MyClass<T> {
|
||||
Class<T[]> getTs() {
|
||||
return <error descr="Cannot select from a type variable">T[]</error>.class;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new MyClass<String>().getTs();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user