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.

Regards,

-- 
Benoît Minisini

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to