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

--- Comment #11 from Ketmar Dark <ket...@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.

--

Reply via email to