[Gambas-devel] Bug in auto create class

Benoit Minisini gambas at ...1...
Thu Feb 2 18:37:32 CET 2006


On Wednesday 01 February 2006 22:12, fabien bodard wrote:
> Hi Benoit,
>
> This is a new bug in gambas :)
>
> it raise in auto creating system in class
>
> i join an example and the gbd result.
>
> regards,
> Fabien Bodard
>

Here is a patch that raises an error instead of crashing.

Actually, as your class has no dynamic variable, it is not instanciable.

Maybe I should make classes instanciable, even if they do not have any dynamic 
variable. It will avoid tests in the interpreter.

Regards,

-- 
Benoit Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbx_object.c
Type: text/x-csrc
Size: 7903 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20060202/69405a33/attachment.c>


More information about the Devel mailing list