Repository navigation
Call graph (zig): \\ multiline string literal lines are shielded whole (Part of #6435) - #6438
Merged
Merged
Conversation
…ole (Part of #6435) The literal shield had no alternative for a zig `\\` line, so text on it read as calls (and `//` or a lone quote on it as a comment or quote opener). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 24, 2026 10:06
squid-protocol
enabled auto-merge (squash)
October 24, 2026 10:10
Contributor
Owner
Author
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
CI shepherd: the head of this PR (592e7ca) is not the one a maintainer labelled |
squid-protocol
disabled auto-merge
October 24, 2026 10:28
Owner
Author
|
No description provided. |
squid-protocol
enabled auto-merge (squash)
October 24, 2026 10:34
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
1 similar comment
Owner
Author
|
No description provided. |
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.
Part of #6435. The zig
\\multiline-string-line half of the issue.What
_apply_literal_shield(detector.py) gets a zig-only alternative: a\\line (line start or after whitespace, to end of line) is blanked to"". Before,\\ run(1)read as a call, and//or a lone"on such a line as a comment or quote opener. Edit is confined to_apply_literal_shield.Differential scan
Golden drift is confined to 3 zig functions (zls
config_gen.ziggenerateVersionDataFile, tigerbeetlebuild.zigbuild_node_client, zigmain.zigcmdInit):calls_out_toloses names that only occurred in\\text (e.g.StaticStringMap,initComptime). Both fixtures blessed viagolden-lock.sh crucible_check.py --update --yes; LLM brief / graph snapshots follow from those.Gates
New tests in
test_zig_strict.pyfail without the fix (6 failed) and pass with it;audit_check.pyall clear; ruff format clean.Sibling gaps
Rust multi-line raw strings (
r"...",r#"..."#): the shield's quote pattern is newline-bounded; not probed here. No burned mainframe estate needs it.Lessons for agents
None new.
Checklist: none on the issue.
🤖 Generated with Claude Code