private method in interface

Jonathan M Davis jmdavisProg at gmx.com
Fri Jun 3 21:58:50 PDT 2011


On 2011-06-03 21:52, Michael Shulman wrote:
> On Fri, Jun 3, 2011 at 8:54 PM, Jonathan M Davis <jmdavisProg at gmx.com> 
wrote:
> > Try to compile with -w. My guess is that you will get a compiler error.
> 
> Nope.

Then file a bug report on it. As I understand it, overriding a non-virtual 
function in D should be illegal. Certainly, it goes against how D deals with 
virtuality in general.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list