[Issue 13775] 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
Tue Dec 2 05:23:55 PST 2014


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|ice                         |
                 CC|                            |schveiguy at yahoo.com

--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Is this really an ICE? Usually an ICE shows a DMD source line number where the
assert happened, or a seg fault.

This looks more like a standard error message, although the "e2ir" is out of
place.

I found the error message, it doesn't look like an ICE to me, just a bad error
message:

https://github.com/D-Programming-Language/dmd/blob/master/src/e2ir.c#L4428

Looking through history, that message has been that way for a long time.

Clearly, it's a regression, and rejects-valid, but not ICE.

--


More information about the Digitalmars-d-bugs mailing list