[fpc-devel] RTTI difference
graemeg.lists at gmail.com
Fri Jul 21 09:06:49 CEST 2006
Umm.. It seems I never reported that bug (I couldn't find it in Mantis). :-(
I have reported it now as Issue 7187
On 7/21/06, Leonardo M. Ramé <martinrame at yahoo.com> wrote:
> I found a difference between the TPropInfo record GetProc and SetProc pointers between Delphi and
> FPC, when i check a class like this:
> TMyClass = class(TPersistent)
> FAttrib1: Integer;
> property Attrib: Integer read FAttrib write FAttrib;
> In Delphi, when i do GetPropInfo(TMyClass, Attrib)^.GetProc it gives a nil value, right, because i
> don´t have declared a getter for this property, with SetProc is the same.
> In FPC, the results never are nil. Is this the correct behavior, or is a bug?
> Leonardo M. Ramé
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> fpc-devel maillist - fpc-devel at lists.freepascal.org
There's no place like 127.0.0.1
More information about the fpc-devel