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

2015-06-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED

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

2015-01-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 --- Comment #12 from Kenji Hara k.hara...@gmail.com --- (In reply to bearophile_hugs from comment #11) (In reply to Kenji Hara from comment #10) I think the cast from int[] to int[2][1] should not be accepted. Can you please explain why?

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

2015-01-15 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 --- Comment #11 from bearophile_h...@eml.cc --- (In reply to Kenji Hara from comment #10) I think the cast from int[] to int[2][1] should not be accepted. Can you please explain why? Currently this is accepted: int[2] m = cast(int[2])[1, 2]; --

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

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 --- Comment #7 from Kenji Hara k.hara...@gmail.com --- *** Issue 13849 has been marked as a duplicate of this issue. *** --

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

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Blocks||13810 --

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

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 --- Comment #9 from bearophile_h...@eml.cc --- (In reply to bearophile_hugs from comment #8) Your have asked me to aggregate two different problems: And now you have also aggregated: void main() @safe { immutable ulong x = 10; auto y1 =

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

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 bearophile_h...@eml.cc changed: What|Removed |Added Severity|minor |normal --- Comment #6 from

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

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 --- Comment #10 from Kenji Hara k.hara...@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

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

2015-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7514 bearophile_h...@eml.cc changed: What|Removed |Added Severity|normal |minor --- Comment #8 from

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

2014-01-24 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7514 --- Comment #5 from yebblies yebbl...@gmail.com 2014-01-25 17:43:00 EST --- Tricky, thanks to this: auto str2 = cast(wchar[3])(789abcc); writefln(str2: , (cast(char[])str2).length , : , (cast(char[])str2)); assert(cast(char[])str2 ==

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

2013-11-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7514 yebblies yebbl...@gmail.com changed: What|Removed |Added CC||baseball@gmail.com

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

2013-11-16 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7514 yebblies yebbl...@gmail.com changed: What|Removed |Added Depends on||11484 --- Comment #3

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

2013-11-09 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7514 Denis Shelomovskij verylonglogin@gmail.com changed: What|Removed |Added Keywords|diagnostic |