Beta D 2.068.1-b2

Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Sep 2 11:20:46 PDT 2015


On 2015-09-02 17:51, Meta wrote:

> Isn't that what `override` is for?

No. Think of it like you want to have a new method with the same name as 
a method in the base class. It's for hiding a method in the base class, 
not overriding it. See the C# documentation [1].

[1] https://msdn.microsoft.com/en-us/library/435f1dw2.aspx

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list