Ali Ãehreli: > > But uncomment the override and it fails. > > That's because "Templates cannot be used to add [...] virtual functions > to classes"
But the error messages given by DMD 2.051 aren't easy to understand for me: test.d(10): Error: variable test.Bar.draw!(int).draw.this override cannot be applied to variable test.d(10): Error: variable test.Bar.draw!(int).draw.t override cannot be applied to variable Bye, bearophile