[Issue 10055] Incorrect attribute merging in destructor building

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 10 07:28:18 PDT 2013


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



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-05-10 07:28:17 PDT ---
Although this is not a regression, same issue exists in implicit postblit
generation.

struct S1
{
    pure this(this) { }
}
struct S2
{
    pure this(this) { }
}
struct SX
{
    S1 s1;
    S2 s2;
}
void main() pure
{
    SX sx1;
    SX sx2 = sx1;   // should succeed to compile, but doesn't
}

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