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
Comment #1 by maxim — 2013-01-26T07:14:32Z
(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.
Comment #2 by monarchdodra — 2013-04-29T03:38:25Z
(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.