[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
Fri Dec 5 07:53:43 PST 2014


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

--- Comment #10 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Kenji Hara from comment #9)
> (In reply to Steven Schveighoffer from comment #4)
> > Is this really an ICE? Usually an ICE shows a DMD source line number where
> > the assert happened, or a seg fault.
> 
> From historical reasons, some cast operations have been verified only by
> glue-layer. That's why sometimes 'e2ir' errors are reported for invalid cast
> operations.

OK, I understand. Is there a reason not to make this assert though? The
impression it gives is confusing to many people, including myself and Denis.

See issue 13810 I added.

--


More information about the Digitalmars-d-bugs mailing list