Re: array error msg improvement

2017-02-02 Thread David Nadlinger via Digitalmars-d
On Thursday, 2 February 2017 at 16:08:37 UTC, Profile Anaysis wrote: Should be something like […] Thanks for the suggestion. However, please use https://issues.dlang.org for bug reports and enhancement requests. They will just get lost here on the NG. — David

array error msg improvement

2017-02-02 Thread Profile Anaysis via Digitalmars-d
Error Error: cannot append type int[] to type int[2][] This is because I tried to slice too small [0..1] when I was suppose to do [0..2](which passes). The error message is deceiving because it makes it look like the append can't happen when it can. Should be something like