[Issue 22565] Attributes not accepted for empty declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 7 10:06:00 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22565
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |INVALID
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
There is no such thing as an EmptyDeclaration in D. We do have empty
statements, which are an entirely different thing. UDAs can be attached to
declarations so it makes no sense to attach an UDA to a statement. Closing as
invalid.
--
More information about the Digitalmars-d-bugs
mailing list