
|
If you were logged in you would be able to see more operations.
|
|
|
|
sum() currently assumes that the items being summed are all numbers or strings.
def list1 = [1, 2]
def list2 = [3, 4]
def list3 = [5, 6]
[list1, list2, list3].sum() currently produces the string "[1, 2][3, 4][5, 6]"
it should produce the list [1, 2, 3, 4, 5, 6] which is what
list1 + list2 + list3 produces.
|
|
Description
|
sum() currently assumes that the items being summed are all numbers or strings.
def list1 = [1, 2]
def list2 = [3, 4]
def list3 = [5, 6]
[list1, list2, list3].sum() currently produces the string "[1, 2][3, 4][5, 6]"
it should produce the list [1, 2, 3, 4, 5, 6] which is what
list1 + list2 + list3 produces. |
Show » |
| There are no comments yet on this issue.
|
|