[Gambas-bugtracker] Bug #2386: Rect and RectF does not init well if all the parameters are not given

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Mon Nov 1 22:20:44 CET 2021


Comment #3 by Benoît MINISINI:

Mmm... At the moment I prefer that you specify a null width and height explicitly than modifying the behaviour of Rect() constructor.

Actually I should even raise an error if you pass a number of arguments that is not zero or four.

More information about the Bugtracker mailing list