mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
check for type param numbers in java 1.6 should not rise error if super methods have type params (IDEA-57338)
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
abstract class A {
|
||||
abstract <T> void foo();
|
||||
}
|
||||
|
||||
abstract class B extends A {
|
||||
void foo()
|
||||
{
|
||||
this.<Integer>foo();
|
||||
}
|
||||
}
|
||||
|
||||
abstract class C {
|
||||
void foo()
|
||||
{
|
||||
this.<error descr="Method 'foo()' does not have type parameters"><Integer></error>foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user