[Issue 20786] do attribute inference for all nested functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 5 01:59:22 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20786
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
One problem with this request is that a lot of code will fail. I just tried
implementing this locally and there are a lot of cases in druntime where nested
functions with no attributes are declared and used as arguments to functions
that receive an attribute-less function as parameter. Imposing attributes on
functions where you don't actually care about them is annoying IMHO.
--
More information about the Digitalmars-d-bugs
mailing list