[Issue 9689] New: std.typecons.Proxy breaks with @disable this(this)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 11 07:31:15 PDT 2013


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

           Summary: std.typecons.Proxy breaks with @disable this(this)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: zan77137 at nifty.com


--- Comment #0 from SHOO <zan77137 at nifty.com> 2013-03-11 07:31:13 PDT ---
This code breaks on dmd git HEAD:

import std.typecons;

struct B(T)
{
    T a;
    @disable this(this);
    mixin std.typecons.Proxy!a;
}
struct S
{
    B!int a;
}
void main()
{
    B!S b;
}

-------
This code is compilable on dmd 2.062.

-- 
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