Mitigating the attribute proliferation - attribute inference for functions

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Sun Apr 12 18:32:52 PDT 2015


On Mon, Apr 13, 2015 at 01:29:15AM +0000, deadalnix via Digitalmars-d wrote:
> On Sunday, 12 April 2015 at 18:34:55 UTC, Andrei Alexandrescu wrote:
> >On 4/12/15 12:12 AM, Walter Bright wrote:
> >>At one point, I had implemented it for auto return functions,
> >>because the source must exist for them, too, but it got a lot of
> >>resistance and was dropped.
> >
> >It's perhaps time to revisit that. I think the resistance was not
> >properly motivated at all. -- Andrei
> 
> Yes, I though it was more or less agreed upon, but nobody took the
> time to make it work.
> 
> That would greatly help, please reconsider.

Resistance or not, I support expanding the scope of auto-inference. It's
the only feasible long-term solution to attribute proliferation.


T

-- 
I see that you JS got Bach.


More information about the Digitalmars-d mailing list