Recover wide constant program arguments #823

Manually merged
binjovi-bot merged 2 commits from rpg-wide-command-copies into trunk 2026-11-20 17:07:15 +00:00
Owner

Recover wide constant program arguments

  • Emit a bounded character literal copied to a wider constant program argument, including widths above 255 bytes.
  • Recognize the measured descriptor for a program prototype with an unpassed optional parameter while retaining the copied-argument ownership checks.

Gate

== a. development emits (dev-hash)
p1 same
p2 same
p3 same
p4 same
p5 same
== b. L10-test direction
L10-test unchanged
== c. committed twins (emit-bytes-diff)
emit-bytes-diff: identical
== d. captures (capture-emit-diff)
command-call-literal base=[4,3,1] head=[4,4,0] CHANGED fail-lines=0
command-prototype-optional base=[4,3,1] head=[4,4,0] CHANGED fail-lines=0
capture-emit-diff: 144 cases, 2 changed, 73 with no failure line in the head emit
== e. source agreement (agree)
suspect        base=103 head=103
conflict       base=0 head=0
params_wrong   base=15 head=15
decl_missing   base=81 head=81
decl_extra     base=32 head=32
type_unmarked  base=55 head=55
== f. host round trips (both binaries)
cases to round-trip: 76
async-stores-static-next-two-20261120/static-store-adjacent base=different head=different
async-stores-static-next-two-20261120/static-store-narrow base=different head=different
async-stores-static-next-two-20261120/static-store-shifted base=different head=different
clear-assigned-public-20261119/clear-assigned      base=match head=match
clear-large-public-20261119/clear-large            base=match head=match
clear-reset-controls-20261119/clear-nondefault     base=match head=match
coord-pub/program-char                             base=match head=match
coord-pub/program-decimal-widen                    base=match head=match
coord-pub/program-packed-field-0                   base=match head=match
coord-pub/program-packed-field-2                   base=match head=match
dev5/p3                                            base=match head=match
dev5/p4                                            base=match head=match
dev5/p5                                            base=match head=match
dormant-signature-next-two-20261120/dormant-signature-empty base=match head=match
dormant-signature-next-two-20261120/dormant-signature-typed base=match head=match
external-based-copy-next-two-20261120/external-field-based-same base=match head=match
external-based-copy-next-two-20261120/external-field-based-short base=match head=match
... 21 lines omitted; the full table is in gate.log ...
l10-scout2/l10-mauroghiglia-foms-ibmi/l10-mauroghiglia-foms-ibmi-1 base=match head=match
l10-scout2/l10-sagartyagi121-newlibrary/l10-sagartyagi121-newlibrary-1 base=match head=match
l10-scout2/l10-sitemule-ileastic/l10-sitemule-ileastic-1 base=match head=match
l10-scout2/l10-sitemule-noxdb/l10-sitemule-noxdb-1 base=match head=match
l10-scout2/l10-sitemule-noxdb/l10-sitemule-noxdb-2 base=match head=match
l10-scout2/l10-web-marketing-group-rpgle-webhooks/l10-web-marketing-group-rpgle-webhooks-1 base=match head=match
l10-scout2b/l10-barrettotte-ibmi-lib-repo/l10-barrettotte-ibmi-lib-repo-1 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-2 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match
l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match
packed-field-qualification-20261119/packed-field-rounded base=match head=match
packed-public-proof-20261119/packed-range-above    base=different head=different
packed-public-proof-20261119/packed-range-below    base=match head=match
packed-public-proof-20261119/packed-range-both     base=match head=match
packed-public-proof-20261119/packed-round-factor-half base=different head=different
packed-public-proof-20261119/packed-round-factor-truncate base=different head=different
packed-scale-proof-20261119/scaled-round-extra-place base=different head=different
packed-scale-proof-20261119/scaled-round-field-half base=different head=different
packed-scale-proof-20261119/scaled-round-field-truncate base=different head=different
packed-scale-proof-20261119/scaled-round-literal-half base=match head=match
padded-part-simple-public-20261119/padded-first-simple base=match head=match
padded-part-simple-public-20261119/padded-whole-simple base=match head=match
retained-text-proof-20261119/retained-text-absent  base=match head=match
retained-text-proof-20261119/retained-text-unused  base=match head=match
retained-text-proof-20261119/retained-text-used    base=match head=match
size-before-call-next-two-20261120/size-before-call-ambiguous base=different head=different
size-before-call-next-two-20261120/size-before-call-literal base=different head=different
size-before-call-next-two-20261120/size-before-call-size base=match head=match
trim-affix-public-20261120/trim-affix-prefix       base=match head=match
trim-affix-wide-clean-public-20261120/trim-affix-wide-clean base=match head=match
trim-affix-width-public-20261120/trim-affix-short  base=match head=match
trim-first-layout-display52-next-two-20261120/trim-layout-first-wide base=match head=match
trim-first-layout-display52-next-two-20261120/trim-layout-last-wide base=match head=match
varying-parts-v2-public-20261119/vtrim-prefix-part base=match head=match
command-calls-next-19-20261120/command-call-literal base=different head=match
command-call-prototype-next-19-20261120/command-prototype-optional base=different head=different
command-call-prototype-next-19-20261120/command-prototype-mutable base=match head=match
gate: PASS
# Recover wide constant program arguments - Emit a bounded character literal copied to a wider constant program argument, including widths above 255 bytes. - Recognize the measured descriptor for a program prototype with an unpassed optional parameter while retaining the copied-argument ownership checks. ## Gate ``` == a. development emits (dev-hash) p1 same p2 same p3 same p4 same p5 same == b. L10-test direction L10-test unchanged == c. committed twins (emit-bytes-diff) emit-bytes-diff: identical == d. captures (capture-emit-diff) command-call-literal base=[4,3,1] head=[4,4,0] CHANGED fail-lines=0 command-prototype-optional base=[4,3,1] head=[4,4,0] CHANGED fail-lines=0 capture-emit-diff: 144 cases, 2 changed, 73 with no failure line in the head emit == e. source agreement (agree) suspect base=103 head=103 conflict base=0 head=0 params_wrong base=15 head=15 decl_missing base=81 head=81 decl_extra base=32 head=32 type_unmarked base=55 head=55 == f. host round trips (both binaries) cases to round-trip: 76 async-stores-static-next-two-20261120/static-store-adjacent base=different head=different async-stores-static-next-two-20261120/static-store-narrow base=different head=different async-stores-static-next-two-20261120/static-store-shifted base=different head=different clear-assigned-public-20261119/clear-assigned base=match head=match clear-large-public-20261119/clear-large base=match head=match clear-reset-controls-20261119/clear-nondefault base=match head=match coord-pub/program-char base=match head=match coord-pub/program-decimal-widen base=match head=match coord-pub/program-packed-field-0 base=match head=match coord-pub/program-packed-field-2 base=match head=match dev5/p3 base=match head=match dev5/p4 base=match head=match dev5/p5 base=match head=match dormant-signature-next-two-20261120/dormant-signature-empty base=match head=match dormant-signature-next-two-20261120/dormant-signature-typed base=match head=match external-based-copy-next-two-20261120/external-field-based-same base=match head=match external-based-copy-next-two-20261120/external-field-based-short base=match head=match ... 21 lines omitted; the full table is in gate.log ... l10-scout2/l10-mauroghiglia-foms-ibmi/l10-mauroghiglia-foms-ibmi-1 base=match head=match l10-scout2/l10-sagartyagi121-newlibrary/l10-sagartyagi121-newlibrary-1 base=match head=match l10-scout2/l10-sitemule-ileastic/l10-sitemule-ileastic-1 base=match head=match l10-scout2/l10-sitemule-noxdb/l10-sitemule-noxdb-1 base=match head=match l10-scout2/l10-sitemule-noxdb/l10-sitemule-noxdb-2 base=match head=match l10-scout2/l10-web-marketing-group-rpgle-webhooks/l10-web-marketing-group-rpgle-webhooks-1 base=match head=match l10-scout2b/l10-barrettotte-ibmi-lib-repo/l10-barrettotte-ibmi-lib-repo-1 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-1 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-2 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-4 base=match head=match l10-scout2b/l10-danlong005-openrpg/l10-danlong005-openrpg-5 base=match head=match packed-field-qualification-20261119/packed-field-rounded base=match head=match packed-public-proof-20261119/packed-range-above base=different head=different packed-public-proof-20261119/packed-range-below base=match head=match packed-public-proof-20261119/packed-range-both base=match head=match packed-public-proof-20261119/packed-round-factor-half base=different head=different packed-public-proof-20261119/packed-round-factor-truncate base=different head=different packed-scale-proof-20261119/scaled-round-extra-place base=different head=different packed-scale-proof-20261119/scaled-round-field-half base=different head=different packed-scale-proof-20261119/scaled-round-field-truncate base=different head=different packed-scale-proof-20261119/scaled-round-literal-half base=match head=match padded-part-simple-public-20261119/padded-first-simple base=match head=match padded-part-simple-public-20261119/padded-whole-simple base=match head=match retained-text-proof-20261119/retained-text-absent base=match head=match retained-text-proof-20261119/retained-text-unused base=match head=match retained-text-proof-20261119/retained-text-used base=match head=match size-before-call-next-two-20261120/size-before-call-ambiguous base=different head=different size-before-call-next-two-20261120/size-before-call-literal base=different head=different size-before-call-next-two-20261120/size-before-call-size base=match head=match trim-affix-public-20261120/trim-affix-prefix base=match head=match trim-affix-wide-clean-public-20261120/trim-affix-wide-clean base=match head=match trim-affix-width-public-20261120/trim-affix-short base=match head=match trim-first-layout-display52-next-two-20261120/trim-layout-first-wide base=match head=match trim-first-layout-display52-next-two-20261120/trim-layout-last-wide base=match head=match varying-parts-v2-public-20261119/vtrim-prefix-part base=match head=match command-calls-next-19-20261120/command-call-literal base=different head=match command-call-prototype-next-19-20261120/command-prototype-optional base=different head=different command-call-prototype-next-19-20261120/command-prototype-mutable base=match head=match gate: PASS ```
binjovi-bot manually merged commit 571a4f2f21 into trunk 2026-11-20 17:07:15 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!823
No description provided.