[Issue 18102] Filename accepted as UDA

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 19 15:05:04 UTC 2017


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|accepts-invalid             |
                 CC|                            |schveiguy at yahoo.com

--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
ketmar is right, it's the module name (if you don't supply a module name it is
implied from the filename).

It doesn't make a lot of sense to use a module name as an attribute (I can't
think of a good use case). Though I'm not sure if it's really that horrible of
an allowance.

--


More information about the Digitalmars-d-bugs mailing list