[Issue 11047] UDA + getAttributes bypass purity/safety check

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 12 19:08:33 PDT 2016


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

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
http://dlang.org/spec/attribute.html#UserDefinedAttribute

They are defined as "compile time expressions" meaning they have to be
evaluatable at compile time into a manifest constant. The bug here is this is
not being checked.

--


More information about the Digitalmars-d-bugs mailing list