[Issue 14582] bigEndianToNative buffer slice allows only literals

2015-05-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14582

Kenji Hara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Kenji Hara  ---
(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.

--


[Issue 14582] bigEndianToNative buffer slice allows only literals

2015-05-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14582

Vladimir Panteleev  changed:

   What|Removed |Added

 CC||thecybersha...@gmail.com

--- Comment #1 from Vladimir Panteleev  ---
Broken by https://github.com/D-Programming-Language/dmd/pull/4193.

I believe this change is intentional.

--