[fpc-devel] Record with dynamic array of same type

Paul Ishenin webpirat at mail.ru
Wed Dec 9 15:28:30 CET 2009


Jonas Maebe wrote:
>>
>> TMyRecord = record
>>   Id: Integer;
>>   Name: String;
>>   ChildRecords: array of TMyRecord;
>> end;
>
> I guess it should be possible to give an error similar to what Kylix 
> does:
>   tt.pp(9) Error: Type 'TMyRecord' is not yet completely defined
D2010 compiles this.

Best regards,
Paul Ishenin.



More information about the fpc-devel mailing list