[Issue 9401] destructor and nothrow syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 26 07:14:33 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9401
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maxim at maxim-fomin.ru
--- Comment #1 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-01-26 07:14:32 PST ---
(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.
--
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