[Issue 24323] x[0 .. 2] cast to Ty[2], x[$-2 .. $] does not?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 8 10:38:52 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24323
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dkorpel at live.nl
Resolution|--- |DUPLICATE
--- Comment #2 from Dennis <dkorpel at live.nl> ---
> I can't possibly be the first one to report this, what's the reason? Just hard to implement the bit of algebra required?
You're right: https://github.com/dlang/dmd/pull/4209
The difficulty is determining how this would fit with the rest of constant
folding.
*** This issue has been marked as a duplicate of issue 13700 ***
--
More information about the Digitalmars-d-bugs
mailing list