[Issue 3273] Regression(2.031): struct invariant + dtor fails to compile (no line number)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 20 00:21:05 PDT 2010


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



--- Comment #4 from Don <clugdbug at yahoo.com.au> 2010-07-20 00:21:01 PDT ---
(In reply to comment #3)
> (In reply to comment #2)
> > (3) invariant + dtor + a non-void function with this struct as parameter, has
> > never worked.
> > For example this code fails on 2.022 with "cannot goto forward into different
> > try block level". It's never worked.
> 
> I've moved that case into a new bug, bug 4339, since it's not a regression,
> unlike the test case in this bug.

Now that bug 4339 is fixed, there's a reasonable workaround for this bug:
create an opAssign.

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