Final by default?

Dmitry Olshansky dmitry.olsh at gmail.com
Thu Mar 13 13:42:15 PDT 2014


14-Mar-2014 00:24, Vladimir Panteleev пишет:
> On Thursday, 13 March 2014 at 19:38:20 UTC, Dmitry Olshansky wrote:
>> Not the same as `final:` inside - the above just means you can't
>> inherit from A. Funnily enough any new methods in A would still be
>> virtual even if nothing can inherit from it!
>
> This should have been fixed years ago:
> https://d.puremagic.com/issues/show_bug.cgi?id=2326
>
> Is it a regression?

I stand corrected. I double checked and indeed compiler produces direct 
calls.


-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list