History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-2952
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Keith Lea
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

IDEA shows funny message for varargs call with extra comma

Created: 22 May 05 04:43   Updated: 22 May 05 17:04
Component/s: Editor. Error Highlighting
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 3,341
Severity: Medium


 Description  « Hide
Given code:

void method() { Arrays.asList("","",); }

IDEA highlights the line as erroneous, about how asList can't be applied to String,String,null.

The error should be on the comma, saying "missing argument" or "extra comma" or something to that effect.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.