Repository navigation
Haskell calls_out: primed identifiers are not char literals (Part of #6454) - #8252
Conversation
…6454) Two names ending in a prime on one line (`Just (_, t') -> case T.unsnoc t' of`) were paired by the shared literal shield as a char literal, blanking the code between them. The rule now masks identifier primes before the shield and restores them after it. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #8252 @ bd80055: 1 failed check(s) == crucible-audit (zero-dependency) (failure) -- real |
…t of #6454) Main's #8240 (has_header_comment) and #8245 (jcl positional comment surface) landed without a joint bless; JCL function rows now report Has Header Comment 1 where a header comment precedes them. No Haskell/Rust golden drift. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (ec4bf11) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
|
PR #8252 @ ec4bf11: 1 failed check(s) == measure (shard 2/3) (failure) -- real |
|
No description provided. |
|
No description provided. |
Summary
Two names ending in a prime on one line (
Just (_, t') -> case T.unsnoc t' of,Just u' -> go u') were paired by the shared literal shield as a char literal, which blanked the code between them and dropped real calls (and let a patternJustread as a call). The Haskell rule now masks an identifier prime before the shield (a real'a'literal is matched first and left alone) and restores it after, through_calls_out_pre_shield/_calls_out_rewrite.Re-measure first:
call_graph_accuracy.pyon the v1.7.0 corpus shows noapply/variable/apply/applymisses left (FN 5 -> 3, TP 329 -> 331, FP 138 -> 137 for haskell). A probe of 19 application shapes found no other missed head.Class sweep
Class: a prime-ending identifier read as a char-literal quote by the shared shield. Siblings in scope: any head or argument on a line with two primed names (all covered by the same mask). Sibling gaps:
infix/-miss (cycle $with its tail on the next line); where-bound bodies attributed to the parent (ledgered R, #3264); theapply/constructoritem. No burned estate needs these.Golden
Drift is haskell/pandoc only: 5 functions in
Shared.hsandApp.hs(calls_out_to, graph_sqlite, llm_brief), both fixtures.Gates
haskell extraction tests (355 pass), audit_check (ruff, mypy, dead-key, doc-refs, ast-accuracy) clear, call_graph_accuracy --ci OK, crucible_check --update via golden-lock.
Checklist: done [c:e595dbf8]
🤖 Generated with Claude Code