*NULL into a procedure pointer of a subprocedure #637
Loading…
Reference in a new issue
No description provided.
Delete branch "rpg-9-ab-proc-pointer-auto-20261025"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
*NULL into a procedure pointer of a subprocedure
A store of
*nullinto apointer(*proc)field was accepted for a staticfield or a subfield, not for the automatic procedure pointer of a
subprocedure, so
target = *null;in a procedure stayed unresolved. Thepointer-type store rule accepts a procedure pointer of any storage class now.
The
rpg-pointer-procedure-autotwin is the public reproduction; its END-PROCstays open, because the prologue of the procedure (the same null store as the
default of the pointer, after the return) has no proof yet.
Gates
7478e4684cfeaae08d40