Hi All,
In the beginning of this year I could compile this:
TMyRecord = record
Id: Integer;
Name: String;
ChildRecords: array of TMyRecord;
end;
...but now with FPC 2.2.4 I get Error: Illegal expression on line 4
Why the change? (And if there is a good reason, could the error
On 09 Dec 2009, at 15:06, Paul van Helden wrote:
In the beginning of this year I could compile this:
TMyRecord = record
Id: Integer;
Name: String;
ChildRecords: array of TMyRecord;
end;
...but now with FPC 2.2.4 I get Error: Illegal expression on line 4
Why the change?
I can't even
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
On 09 Dec 2009, at 15:28, dmitry boyarintsev wrote:
On Wed, Dec 9, 2009 at 5:22 PM, Jonas Maebe
jonas.ma...@elis.ugent.be wrote:
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
if dynamic arrays
On Wed, Dec 9, 2009 at 5:48 PM, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
I don't know why Kylix refuses it. It's true that in theory it could be
compilable (and apparently some very old FPC version did and very new Delphi
version does compile it).
It seems that it's fixed in 2010 only,
In our previous episode, dmitry boyarintsev said:
I don't know why Kylix refuses it. It's true that in theory it could be
compilable (and apparently some very old FPC version did and very new Delphi
version does compile it).
It seems that it's fixed in 2010 only, because the structure