I just found that code:
[1,2] [4, 4]
is completely valid in Groovy but can't find what does such expression evaluates to, for me it returns null in all possible cases:
groovy:000> [1, 2] []
===> []
groovy:000> [1, 2] [4]
===> null
groovy:000> [1, 2] [4,5]
===> [null, null]
So basically the question is what does the expression:
a = list1 list2
mean in Groovy?