indexing inconsistecy: bug or intentional?

2022-09-19 Thread o...@ocs.cz
Hi there, is this behaviour intentional? Seems to me it should either throw in all these cases, or in none of them, but as always, I might be missing something of importance: === Groovy Shell (4.0.5, JVM: 1.8.0_181) Type ':help' or ':h' for help.

RE: [EXT] indexing inconsistecy: bug or intentional?

2022-09-19 Thread Milles, Eric (TR Technology) via dev
This has been reported under a few different guises. There are some other tickets for ranges and negative indexes. https://issues.apache.org/jira/browse/GROOVY-6193 https://issues.apache.org/jira/browse/GROOVY-4652 https://issues.apache.org/jira/browse/GROOVY-1740 https://issues.apache.org/jira/b