[Issue 9401] destructor and nothrow syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 29 03:38:26 PDT 2013


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



--- Comment #2 from monarchdodra at gmail.com 2013-04-29 03:38:25 PDT ---
(In reply to comment #1)
> (In reply to comment #0)
> > struct S
> > {
> >     nothrow ~this() //LEGAL
> >     {}
> > 
> >     ~this() nothrow //ILLEGAL
> >     {}
> > }
> > 
> > Illegal:
> > main.d(3): Error: semicolon expected following function declaration.
> > 
> > May or may no be related to 9371:
> > http://d.puremagic.com/issues/show_bug.cgi?id=9371
> 
> It seems that no attribute after ~this() is supported.

Just re-hit this with "pure". Ping I guess.

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