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
--copy-libraries: an unqualified COPY that no declared library holds falls back to the default resolver and links to a program source of the same name #4420
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
With --copy-libraries (#4405), a COPY X whose member is in none of the importer's declared SYSLIB libraries falls back to the default resolver. That resolver can link it to a program source of the same name. In estate-crucible v0.4.0 (horror H-0053): COPY ORDPRICE in ORDMAIN resolves to apps/ORDR/cobol/ORDPRICE.cbl, and COPY SHPRATE in SHPINQ / SHPINQO to SHPRATE.cbl. The failure spills into those members' copy_members and layouts.
Expected
When the importer's SYSLIB is declared, a member missing from every declared library gets no edge, as the compiler would fail too. It should be reported as a gap. Runtime-supplied names (SQLCA, DFHAID, …) can stay unresolved without a fallback.
Acceptance criteria
Declared SYSLIB plus a member found in no declared library gives no import edge and a recorded gap; undeclared importers keep today's behaviour.
H-0053 passes; regression tests incl. a runtime-supplied member and an undeclared importer.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginelegacy-modernizationCOBOL refractor, dead-code extraction, and JCL forgingpriority: mediumscope:sweepCompletes a class the burned estates already touch (siblings); blocks no program
Activity
fix: --copy-libraries gaps get no fallback edge (#4420); persist copy…