array extraction with : crash the software
Reported by Clement DAVID (@davidcl)
BUG DESCRIPTION:
----------------
(1:10)(1:10) works fine however using (1:10)(:) as a handy reshape crash the software!
After some investigation, it looks like an interpreter (or parser) bug. I was able to easily reproduce the following results:
((1:10))(1) // OK extracting with a single index
((1:10))(1:10) // KO extracting with indices from an array, produce an "Invalid index." error
((1:10)')(1:10) // OK extracting with indices from an array
((1:10))(:) // KO extracting with 'all' indices from an array, produce an "Invalid index." error
(1:10)(:) // KO will probably crash