[Issue 7514] [e2ir] Error in e2ir at dynamic array to static array cast

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jan 14 20:09:19 PST 2015


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

--- Comment #10 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to bearophile_hugs from comment #8)
> Your have asked me to aggregate two different problems:
> - This issue originally was just asking to remove the "e2ir" in the error
> message. This is a bug report.

It's now properly handled in the issue 13810. So I set the "Blocks" field.

> - Now this issue is also an enhancement request, asking for code like
> "int[2][1] m = cast(int[2][1])[1, 2];" to be accepted.

Why? The "Importance" field had not been set to "enhancement" any time. And you
had not *ask* the acceptability about the code by the comments.

And, I think the cast from int[] to int[2][1] should not be accepted.

--


More information about the Digitalmars-d-bugs mailing list