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


Andrej Mitrovic <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #3 from Andrej Mitrovic <[email protected]> 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: -------

Reply via email to