August 29, 2014 [Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13397 --- Comment #11 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- (In reply to Kenji Hara from comment #10) > Combination of prefix attribute and contextual keyword feature will cause > ambiguity. > I think just only postfix cases should be accepted. and my patch description clearly says that it's only for "postfix function attributes". ;-) i strongly believe that we should deprecate and kill prefix attributes anyway. one thing i did wrong is supporting for `nogc {}` and `nogc:` — i should check for '{' and ':' before deciding if 'nogc' is identifier or attribute. have to fix my patch. -- |
August 29, 2014 [Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13397 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1395|0 |1 is obsolete| | --- Comment #12 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- Created attachment 1398 --> https://issues.dlang.org/attachment.cgi?id=1398&action=edit postfix function attributes w/o '@' (better code, allows nogc {} and nogc:) fixed patch. now Kenji's sample is OK. -- |
August 29, 2014 [Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13397 Ketmar Dark <ketmar@ketmar.no-ip.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1398|0 |1 is obsolete| | --- Comment #13 from Ketmar Dark <ketmar@ketmar.no-ip.org> --- Created attachment 1399 --> https://issues.dlang.org/attachment.cgi?id=1399&action=edit postfix function attributes w/o '@' (better code, allows nogc {} and nogc:) fixed patch yet again. forgot to change Parser::skipAttributes(). -- |
July 07, 2017 [Issue 13397] allow postfix function attributes like 'safe', 'system' and so on without '@' | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13397 Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #14 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> --- Such language changes need to be proposed through the DIP process: https://github.com/dlang/DIPs Bugzilla is not the correct place for language enhancements. Without a DIP, this patch will not be accepted, so there's no point in keeping this issue open. -- |
Copyright © 1999-2021 by the D Language Foundation