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

RazvanN <razvan.nitu1...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1...@gmail.com

--- Comment #1 from RazvanN <razvan.nitu1...@gmail.com> ---
Under the current specification this is not a bug, even though the behavior is
surprising. Attributes are inferred for auto functions because you a function
body needs to be present. Attributes are not inferred for non-auto functions,
even if the body is present.

--

Reply via email to