[Issue 11484] [e2ir] Error in e2ir at cast to/from static array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 9 13:28:24 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11484



--- Comment #4 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-11-09 13:28:23 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > And what will exactly the code produce?
> 
> An ICE. A normal compiler error is expected.

It is an error.

If you look into usual practice of tagging, you will see that these issues are
not ice, because there is no compiler crashes, segfaults, overflows, etc.
Better keyword is probably diagnostic. The only detail which can be argued to
be 'compiler internal' is mentioning 'e2ir' which does not affect anything. Do
you consider

struct S { this(this) {} }

struct SS
{
    const(S) s;
}

Error: mutable method f167.S.__postblit is not callable using a const object

an ice because '__postblit' is 'internal error message'?


What is more important, is that all these issues filed against 'e2ir' are
useless. There is no need to spend time on inventing cases which produces
'e2ir' and pusing dozens of them to bugzilla because all these 'ICEs' are
fixable using grep within several minutes.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list