mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +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
f0fc3a6588
commit
667d922108
@@ -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