groovy

missing coercion for array

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1-beta-3
  • Fix Version/s: 1.1-rc-1
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

the following script fails:

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

Activity

Hide
Guillaume Laforge added a comment -

It's been fixed, it seems.

Show
Guillaume Laforge added a comment - It's been fixed, it seems.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: