[Issue 14582] bigEndianToNative buffer slice allows only literals

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 16 00:40:45 PDT 2015


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Vladimir Panteleev from comment #1)
> Broken by https://github.com/D-Programming-Language/dmd/pull/4193.
> 
> I believe this change is intentional.

Yes, this is intentional change, so it's not a regression.

To support such the cast operation (from a dynamic array slice with offset +
compile-time known length to static array reference), I'm proposing enhancement
issue 13700, but my compiler change for that is not yet merged.

--


More information about the Digitalmars-d-bugs mailing list