mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 20:07:01 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 126dfbfe5a1046072d520e9a8f57261ff7add384
18 lines
354 B
Java
18 lines
354 B
Java
class A {
|
|
<T> A() {}
|
|
|
|
{
|
|
new <<error descr="Type argument cannot be of a primitive type">int</error>>A();
|
|
}
|
|
}
|
|
|
|
class B<T> {
|
|
{
|
|
new B<<error descr="Type argument cannot be of a primitive type">int</error>>();
|
|
B.<<error descr="Type argument cannot be of a primitive type">int</error>>m();
|
|
}
|
|
|
|
<S> void m(){}
|
|
|
|
}
|