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

Key: GROOVY-2440
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Paul King
Reporter: Venkat Subramaniam
Votes: 0
Watchers: 0
Operations

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

Range of enum not working

Created: 24/Dec/07 07:46 AM   Updated: 08/Feb/08 01:26 AM
Component/s: None
Affects Version/s: 1.5.1
Fix Version/s: 1.5.2

Time Tracking:
Not Specified

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


Testcase included: yes


 Description  « Hide
When using range of enum in a case statement, I get a compilation error that method next() is not implemented on the enum. Please see test attached.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul King - 25/Dec/07 01:13 AM - edited
Added for Groovy Enums

Paul King - 08/Feb/08 01:26 AM
close off release 1.5.4