[Gambas-user] IDE: signature doubled for Rect._new()

Tobias Boege taboege at ...626...
Sat Jun 27 16:09:36 CEST 2015


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




More information about the User mailing list