https://issues.dlang.org/show_bug.cgi?id=12030

--- Comment #1 from Vladimir Panteleev <[email protected]> ---
(In reply to bearophile_hugs from comment #0)
> This contains two related enhancement requests.
> 
> Some missed compile-time tests:
> 
> void main() {
>     ubyte[10] a;
>     ubyte[20] b;
>     b[1 .. a.length + 2] = a[];
> }


Since https://github.com/dlang/dmd/pull/3485 this no longer compiles:

test.d(4): Error: mismatched array lengths, 11 and 10

--

Reply via email to