mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
overload resolution: static methods from super interfaces should be skipped in favor to instance methods (IDEA-216009)
GitOrigin-RevId: f172ea91498434cd956010df286dc418334a83b9
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e5aabb8ae1
commit
67d165e584
@@ -0,0 +1,11 @@
|
||||
interface ToStringBug {
|
||||
|
||||
static void toString(String s) {}
|
||||
|
||||
class Inner implements ToStringBug {
|
||||
|
||||
{
|
||||
toString<error descr="'toString()' in 'java.lang.Object' cannot be applied to '(java.lang.String)'">( "x")</error>;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user