[Issue 13775] [REG2.067a] Broken explicit casting of dynamic array slices of known size to static array of different type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 12 05:01:52 PST 2015


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #17 from Martin Nowak <code at dawg.eu> ---
(In reply to Kenji Hara from comment #16)
> > See also Issue 13700, which covers the case.
> 
> Yes, it's an enhancement case.

No, it's an explicit cast and it used to compile in 2.066.1.

cast(ubyte[2])ip[i*2 .. i*2+2])

--


More information about the Digitalmars-d-bugs mailing list