On Wed, 2011-08-31 at 10:29 +0930, Bruce Bruen wrote: > On Wed, 2011-08-31 at 01:56 +0200, Benoît Minisini wrote: > > > Hi, > > > > To finish fixing issue #78, in revision #4064, I have added a new check in > > the > > Gambas inheritance mechanism. > > > > Now, a class method can override a method of a parent class only if they > > have > > the same signature. > > > > The check is not done for the "_new" special method, as the inheritance of > > _new is special (see "inheritance and constructor" in the "Gambas object > > model" documentation on the wiki). > > > > And the check is not done too for a native class inheriting another native > > class. C/C++ programmer are supposed to know what they are doing. :-) > > > > Maybe you will get new "Badly overridden" errors in your projects now. > > Sorry > > for that! > > > > Regards, > > > > I am having a panic attack over this as I thought it had gone away. Does > this mean that gambas 3 is now explicitly non-polymorphic? > Bruce > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user
Sorry, I'm really panicky, I meant method overriding not polymorphism. Bruce ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user