Issue Details (XML | Word | Printable)

Key: GROOVY-2188
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jochen Theodorou
Reporter: Jochen Theodorou
Votes: 0
Watchers: 0
Operations

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

missing coercion for array

Created: 10/Oct/07 10:22 AM   Updated: 12/Oct/07 08:49 AM
Component/s: None
Affects Version/s: 1.1-beta-3
Fix Version/s: 1.1-rc-1

Time Tracking:
Not Specified


 Description  « Hide
the following script fails:

def m(Object[] o) {o.length}
assert m([1,2,3] as int []) == 3



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Guillaume Laforge added a comment - 12/Oct/07 08:49 AM
It's been fixed, it seems.