[Issue 13388] accept '@' before 'nothrow', 'pure', 'final', 'abstract' and 'override'

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 29 22:28:07 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13388

Ketmar Dark <ketmar at ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1391|0                           |1
        is obsolete|                            |
   Attachment #1392|0                           |1
        is obsolete|                            |
   Attachment #1393|0                           |1
        is obsolete|                            |

--- Comment #23 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
Created attachment 1400
  --> https://issues.dlang.org/attachment.cgi?id=1400&action=edit
allow UDA-like syntax for 'pure' and 'nothrow'

(In reply to Trey Brisbane from comment #22)
> Ketmar, what was your rational for including final, abstract and override in
> this patch? 

parser checks for 'em all in the same place, that's it. ;-) ah, and to be
consistent with '@property'.

> Would you guys be more receptive to the idea if it was just nothrow and pure
> being affected?
attached new patch. only 'pure' and 'nothrow' can be prefixed with '@' now. and
fixed one bug.

--


More information about the Digitalmars-d-bugs mailing list