Repository navigation
det: ALL-literal relation conditions compile; refuse numeric FUNCTION DISPLAY by name (#4557) - #4567
Merged
Merged
Conversation
…ic FUNCTION DISPLAY by name (#4557) Closes #4557 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01W3KVtYHQp8KsfKcHsdiPbR
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4557
The det translator emitted
Cobol.compareAllforIF X = ALL 'ab'(andCobol.displayNumberfor numeric FUNCTION DISPLAY), neither of which cobolrt declares, so the port did not compile.Cobol.compareAllto the runtime and fixed the relation-condition emission indet/gen.py(with and without a collating sequence).FUNCTIONin DISPLAY is now refused by name (GnuCOBOL shows each numeric function in its own picture) instead of emitting uncompilable Java.Cobol.<method>(the generator writes exists in the runtime, and the numeric-FUNCTION refusal. Parser tests useimportorskip("tree_sitter_language_pack").Gates: ratchets 6/6 pass; test_det_programs 95 pass (EQUIVALENCE_E2E=1, JDK 17, docker); lint/audits/secrets/xray/gauntlet/golden pass. Full suite: 16 failures in
test_the_loops_committed_ports_are_proven[*](provenanceedited_afternow says "resurfaced" per #4343 but the test asserts "none"); files untouched by this PR, not caused by it.🤖 Generated with Claude Code
https://claude.ai/code/session_017BVJCCUMdjLJq1TAM3V34V