You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
det translator: COPY after other text on its line, or with the member on the next line, is not expanded (record silently empty) #4459
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitylegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
det.source.expand only recognises a COPY statement that starts its line with the member name on the same line (_COPY = ^\s*COPY\s+NAME). Two valid forms are left unexpanded, and the record they fill silently comes out empty (0 bytes); the layout parse does not fail and nothing is refused:
a COPY after other text on its line: 01 WS-RPT-HEAD. COPY RPTHDR. (the code below _COPY even handles head text before COPY, but the anchored pattern never matches it);
a COPY whose member name is on the next line: COPY / UPDCTL.
Evidence (origin/main e3ace8a, #4273 cross-check on estate-crucible v0.4.0)
apps/ACCT/cobol/ACCTRPT.cbl:21-22: 01 WS-RPT-HEAD. COPY RPTHDR. and 01 WS-RPT-TOTALS. COPY RPTTOT. COPY RPTCNT. → translator records 0 bytes; the estate's key (and the engine) have 51 and 22 bytes.
bugUnintended behavior or logic failure in the enginedata-integrityIssues relating to RAM state or SQLite database fidelitylegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: highCore feature broken, but workarounds existscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Activity
det: refuse a program whose COPY resolution differs from the engine's (…
det: take COPY resolution from the engine (#4468) (#4489)
det: expand a COPY after other text or with its member on the next li…