[Issue 4735] class that implements interface can override a static method

2011-06-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4735


bearophile_h...@eml.cc changed:

   What|Removed |Added

 CC||bearophile_h...@eml.cc


--- Comment #2 from bearophile_h...@eml.cc 2011-06-15 13:39:52 PDT ---
(In reply to comment #1)
> There is no error, as foo is _not_ overriding anything.

So what's going on here?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 4735] class that implements interface can override a static method

2011-06-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4735


yebblies  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||yebbl...@gmail.com
 Resolution||INVALID


--- Comment #1 from yebblies  2011-06-15 08:17:18 PDT ---
There is no error, as foo is _not_ overriding anything.  If you add the
override keyword it makes this very clear:
Error: function testx.C.foo does not override any function

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---