digitalmars.D.bugs - [Issue 13397] New: allow postfix function attributes like 'safe',
- via Digitalmars-d-bugs (24/24) Aug 29 2014 https://issues.dlang.org/show_bug.cgi?id=13397
https://issues.dlang.org/show_bug.cgi?id=13397 Issue ID: 13397 Summary: allow postfix function attributes like 'safe', 'system' and so on without ' ' Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: ketmar ketmar.no-ip.org Created attachment 1394 --> https://issues.dlang.org/attachment.cgi?id=1394&action=edit postfix function attributes w/o ' ' this is another attempt to introduce some consistency in UDA-like and keyword patch allows omiting ' ' in postfix attributes, yet not turning them into keywords (so one still can use variable names like 'system'). i.e. this is now valid: void foo () system nogc { … } --
Aug 29 2014