[fpc-devel] Important: Call for testing.

Michael Van Canneyt michael at freepascal.org
Mon Mar 31 16:13:48 CEST 2008



On Mon, 31 Mar 2008, Martin Schreiber wrote:

> On Sunday 30 March 2008 20.42:13 Michael Van Canneyt wrote:
> > On Sun, 30 Mar 2008, Martin Schreiber wrote:
> 
> > > I'd like to second Colins wish. Please use the same resolving order as
> > > Delphi. MSEide+MSEgui compiles with Delphi7 so the reversed order is an
> > > unnecessary complication and error source.
> >
> > It's not a complication. Resolving order is and must be irrelevant. Until
> > 'Loaded' is called, you're not supposed to make any assumptions about what
> > property is and what property is not set, and hence also not about the
> > order.
> >
> I am not convinced. By controlling the order of the properties and the load 
> order of the forms it is possible to control the resolving order. Does FPC 
> loose on quality if you use the same order as Delphi? It is possible that we 
> don't know all future applications of resolving order at the moment, why 
> should we give away compatibility if not necessary?

Simply said: if I must reverse order, then I have to redo the whole
cleanroom stuff and it will be exactly as in Delphi. This is not an 
option.

And since resolving order is not something you are supposed to rely on,
you're on dangerous ground. As soon as Delphi changes it, your code will
break anyway.

As I said: the only moment that is guaranteed is the 'loaded' call, stick to
that.

Michael.



More information about the fpc-devel mailing list