I can definitely report this on Github, but before doing this I'd like to
better understand this inconsistency.
It seems that for array initialization to work as expected, array types that
differ only in index boundaries should be treated as equal. Otherwise this:
var b: array[-1 .. 8, int] = [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8]
won't be possible (because of type mismatch), which is bad.
This means that at least in some important contexts only size of array should
matter, not its boundaries. But maybe there are contexts (or parts of the
language) in which differentiating between types `array[10, int]` and `array[-1
.. 8, int]` is useful or even required?
I'm new to nim, so I cannot easily answer this question. Any ideas? Any links
to prevoius discussions?