adem0x / la-pe

Automatically exported from code.google.com/p/la-pe
0 stars 0 forks source link

Can't deref certain typed Pointers #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What will reproduce the problem?
  http://paste.villavu.com/show/x7iV1TALSkH1wzLwtYL1/

What is the expected output? What do you see instead?
  42, Exception

Which version are you using?
  r105

Please provide any additional information below.
  Only on Pointers of Records.

Original issue reported on code.google.com by dgby...@aol.com on 25 Jun 2011 at 11:35

GoogleCodeExporter commented 9 years ago
Seems to only be like this when you want the Pointer before the actual record.

This works:
type
  TTest = record
  end;
  PTest = ^TTest;

tho PTest before TTest doesn't

Original comment by dgby...@aol.com on 25 Jun 2011 at 11:37

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r106.

Original comment by niels....@gmail.com on 26 Jun 2011 at 8:56

GoogleCodeExporter commented 9 years ago
Thank you very much for reporting. This was indeed an issue with pointer type 
forwarding, but it should be fixed now :)

Original comment by niels....@gmail.com on 26 Jun 2011 at 8:57