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

--- Comment #11 from Steven Schveighoffer <[email protected]> ---
(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-@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.

--

Reply via email to