https://issues.dlang.org/show_bug.cgi?id=16410
Lodovico Giaretta <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|attribute inference inside |attribute inference for |templated classes |final methods of templated | |classes Severity|major |normal --- Comment #9 from Lodovico Giaretta <[email protected]> --- (In reply to Lodovico Giaretta from comment #8) > Sorry, I don't understand why Foo!T.bar being @nogc would prevent possibly > intended behaviour. Can you please elaborate on this? Nevermind, got that. If a method is inferred @nogc, it can no longer be overridden as non-@nogc. This is correct. My bad. Then a new question arises: why cannot attribute inference happen for *final* methods of templated classes? --
