[Issue 9923] [ICE] (interpret.c line 167) with countUntil on Typedef[]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 17 16:56:47 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9923


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-17 16:56:46 PDT ---
(In reply to comment #2)
> (In reply to comment #1)
> 
> > There's a bug in Phobos. That type of bug no longer triggers a crash in CTFE.
> 
> Do you suggest me to open some kind of Phobos bug report?

It looks to me like a compiler bug:

-----
struct Typedef(T, T init, string cookie=null)
{
    private T Typedef_payload = init;

    this(T init)
    {
        Typedef_payload = init;  // should be allowed AFAIK
    }

    mixin Proxy!Typedef_payload;
}
-----

Try filing it.

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


More information about the Digitalmars-d-bugs mailing list