Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Can't Reproduce
Assignee
Alexey Kudravtsev
Subsystem
Code Analysis. Inspection
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Gregory Shrago
    4 years ago (27 Sep 2007 20:18)
  • Updated by   root
    2 years ago (17 Jan 2010 20:53)
  • Jira: IDEADEV-21753
    (history, comments)
 
IDEA-41135 good code highlighted red: IDEA incorrectly merges methods from several interfaces
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
interface A {
List f();
}

interface B extends A {
ArrayList f();
}

interface C extends A, B { // the order of interfaces is important
}

in the following code:
ArrayList method(C c) {
 return c.f()
;
}

return statement is highlighted as error while javac reports no errors




Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments