Hi there, is this inconsistence intentional and the proper Groovy behaviour, or is that a bug and should I add a jira ticket?
Thanks! === groovy:000> a=[1,2] ===> [1, 2] groovy:000> b=a as Object[] ===> [1, 2] groovy:000> a[2] ===> null groovy:000> b[2] ERROR java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2 groovy:000> ===