[Issue 10053] struct member with pure dtor forces declared dtor to be pure, too

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 10 00:29:12 PDT 2013


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



--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2013-05-10 00:29:11 PDT ---
(In reply to comment #2)
> Is this really a regression? The OP code didn't compile with 2.062 and earlier.

OK, I confirmed. Instead of the OP code, this code:

struct S1
{
    pure ~this() { }
}
struct S2
{
    S1 s;
    ~this() { }
}

compiles with 2.062 but fails with git head(1290d1b).

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