On Thu, 18 Jun 2015, Beno?t Minisini wrote:
> Le 18/06/2015 08:29, Tobias Boege a ?crit :
> > Hi Benoit,
> >
> > when I type "New Rect(", the IDE shows the signature of Rect's constructor
> > doubled (s. attached screenshot). I have gb.qt4 and gb.clipper enabled which
> > both have a Rect class. Does inheritance of the parent's constructor
> > arguments cause this? What is the intended outcome if I specify both sets
> > of arguments? :-) I guess the child's should override the parent's...
> >
> > Regards,
> > Tobi
> >
> 
> There is no actual inheritance.
> 
> It's just that as *.info files has no inheritance feature, both 
> gb.qt4.info and gb.clipper.info (and other components that directly or 
> indirectly automatically load the 'gb.geom' component) have the Rect 
> class description in it.
> 
> The problem is in the *.info file, not at runtime.
> 
> The solution would be having an inclusion feature in *.info file, or 
> something that tells the IDE that part of the description comes from 
> another automatically loaded component.
> 

Ah, I see. But the interpreter gets it right... I suppose we can't easily
exploit the interpreter's intelligence to determine the real signature for
a symbol in help system?

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to