Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
-
None
Description
To reproduce
import groovy.transform.CompileStatic @CompileStatic public class Concat { public static void main(String[] args) { def x = 'a,b,c'.split(',') def y = 'd,e,f'.split(',') println(x + y) } }
Without @CompileStatic yields:
[a, b, c, d, e, f]
With @CompileStatic yields:
[a, b, c, [d, e, f]]
Should rather be the same.