This is listed in "Other known bugs"
forward referencing pointers generate debug info that appears as generic pointers; no information of `with' statements is currently given to the debugger; error in debug entries generated for objects
Is this the same as this problem:
type xptr = ^x_type; x_type = record stuff ... next : xptr; end; var xlist, x : xptr; begin new(xlist); xlist.next:=nil; ... x := xlist; repeat with x^ do begin new(next); x := next; until no_more_to_create;
At runtime: Program received signal SIGSEGV, Segmentation fault. Inside gdb: (gdb) print x[0] Attempt to dereference a generic pointer.
Obviously next can be "pointer" and xptr can be defined after x_type, but it is inconvenient to change code based on one of the building blocks of Pascal.
--Chris