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

Steven Schveighoffer <schvei...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|do attribute inference for  |do attribute inference for
                   |all nested functions        |member functions inside
                   |                            |nested aggregates

--- Comment #4 from Steven Schveighoffer <schvei...@yahoo.com> ---
(In reply to RazvanN from comment #3)
> It seems dmd does
> attribute inference for nested functions, except if the the function is the
> member of a nested aggregate declaration.

Oh interesting! I just tested that and you are right, I just assumed it would
all be the same. Changing the title appropriately.

It's curious that nested member functions are not inferred (except inside @safe
functions) when straight nested functions are.

--

Reply via email to