Overloaded inner class marked as error
Does anybody know why inner class B is marked as error in this code:
The code compiles and works as expected, so I assume this is an error of IDEA. But in the following example there's no error:
Please sign in to leave a comment.
Yes, this seems to be a bug in our highlighting engine.
Please submit a bug to the tracker.
Friendly,
Eugene
"Martin Fuhrer" <mf@fuhrer.com> wrote in message
news:13677457.1056434404011.JavaMail.jrun@is.intellij.net...
>
>
IDEA.
Ok, I filed a bug: http://www.intellij.net/tracker/idea/viewSCR?publicId=13646
What I don't understand is why the second example isn't also marked as error. It's exactly the same construct than the erroneous one.
I got a similar error while browsing the jdk sources and it had something to
do with the constructors. Going up the hierarchy idea starts complaining
about a default protected constructor not found.
Ah. I see someone has already marked this as duplicate of mine:
http://www.intellij.net/tracker/idea/viewSCR?publicId=13064