Final by default?

monarch_dodra monarchdodra at gmail.com
Thu Mar 13 13:49:01 PDT 2014


On Thursday, 13 March 2014 at 20:42:15 UTC, Dmitry Olshansky 
wrote:
> 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.

Whew!


More information about the Digitalmars-d mailing list