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

Key: GROOVY-2853
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Josh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

Unclear error message for syntax error when using generics and forget bracket

Created: 22/May/08 02:29 AM   Updated: 22/May/08 02:29 AM
Component/s: command line processing, eclipse-plugin
Affects Version/s: 1.5.6
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. File GenericsError.groovy (0.1 kb)

Environment:
ubuntu 08.04
eclipse v3.3.2
latest groovy plugin
jdk 1.6.0_06


 Description  « Hide
The following code gives an unclear error message.
Error message given is
(currentLtLevel != 0) || ltCounter == currentLtLevel @ line -1, column -1. Sandbox/src/test GenericsError.groovy line 1 1211441271049 2180

The error in the code is that it's missing the closing bracket ">"

package test

class GenericsError {
static void main(args) { def someList = new ArrayList<Integer() }
}



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.