Parse bug?

I just noticed that IDEA seems to be getting confused about new
ArrayList(int). As can be seen in the attached image, IDEA is complaining
about the size variable being passed to the ArrayList constructor. The file
compiles with no problems, though.

I can file a JIRA if this isn't already known.

;ted





Attachment(s):
ArrayListGenericsBug.png
2 comments
Comment actions Permalink

Hello Ted,

I just noticed that IDEA seems to be getting confused about new
ArrayList(int). As can be seen in the attached image, IDEA is
complaining about the size variable being passed to the ArrayList
constructor. The file compiles with no problems, though.

I can file a JIRA if this isn't already known.


This is a known problem that happens sporadically, but unfortunately we don't
know how to reproduce it reliably.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I was getting this with the HashSet() constructor the other day too...
FWIW, I've only seen this very recently.

N.


Dmitry Jemerov wrote:

Hello Ted,

>> I just noticed that IDEA seems to be getting confused about new
>> ArrayList(int). As can be seen in the attached image, IDEA is
>> complaining about the size variable being passed to the ArrayList
>> constructor. The file compiles with no problems, though.
>>
>> I can file a JIRA if this isn't already known.


This is a known problem that happens sporadically, but unfortunately we
don't know how to reproduce it reliably.

0

Please sign in to leave a comment.