Issue Details (XML | Word | Printable)

Key: GROOVY-2209
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Guillaume Laforge
Reporter: Guillaume Laforge
Votes: 0
Watchers: 0
Operations

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

Maps of closures coercion to classes fails with non-overriding methods, protected methods, and with arrays parameters

Created: 14/Oct/07 04:44 PM   Updated: 14/Oct/07 04:49 PM
Component/s: None
Affects Version/s: 1.1-rc-1
Fix Version/s: 1.1-rc-2

Time Tracking:
Not Specified


 Description  « Hide
The map of closures coercion to classes mechanism has some flows.
The groovy code generated has syntax errors for methods not overriding any other method.
Only public methods can be overridden.
Furthermore, the mechanism won't work when using arrays as the simple name of classes are used ( [java.langString, etc... instead of String[])

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