[Issue 16410] attribute inference for final methods of templated classes
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Aug 23 08:52:52 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16410
--- Comment #11 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Lodovico Giaretta from comment #10)
> (In reply to Lodovico Giaretta from comment #9)
> > Then a new question arises: why cannot attribute inference happen for
> > *final* methods of templated classes?
>
> Small precisation: I mean *final override* methods. For final (non-virtual)
> methods it already happens.
I think it should, where possible. That is, if you can override a non- at nogc
method with a @nogc method (and if not, I think you should be able to), then
inference of the attribute should happen for final methods.
--
More information about the Digitalmars-d-bugs
mailing list