Repository navigation
ownership: finish the corpus scan for E176, fix the last dropped reads and Persian fixtures - #3669
Conversation
The fmt and lsp inputs still used symbols that Persian mode rejects, so they never reached their formatter or server checks.
Bare reads of tcp and tls results were dropped, which E176 rejects in user code. Both languages.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
sha=766fdae5694ef19ca1052c3234aa5673b72d3a6d
🤖 Salam AI reviewVerdict: ✅ Good to merge commit SummaryThis PR completes the corpus scan for E176 and E250 by replacing rejected symbolic comparison operators with their Persian word forms in three Persian fixtures. The visible edits match Salam's documented Persian keywords, and no compiler or standard library code changes appear in the provided diff. What changedThe diff updates three Persian fixtures: Review
TestsThe PR states that RisksThe main risk is that a fixture's expected formatted output may use a different accepted spelling or spacing for a Persian comparison operator. If so, the corresponding golden test would need updating alongside this change. The visible diff does not show those golden expectations, so this cannot be confirmed here.
|
Finishes the whole-corpus scan for the new E176 and E250 rules, which #3654 and #3666 started, and fixes what it found.
.salamfile undertests/,examples/andwebsite/content/(about 7,500, excludingerrors/fixtures and page fixtures) with the merged compiler. Coverage is continuous across the four resumed runs.tcp.Readresult (E176). main fixed both in website: fix the examples that fail the Check the examples gate #3665 while this was open, so this branch takes main's version.tests/fa/fmt/messy,tests/fa/fmt/persian_syntax,tests/lsp/fa/binary). They use the word operators now, and each checks clean.Checked:
salam checkon every touched file is clean;fmtis 18 of 21, and the 3 failingengolden checks (comparison_spacing,percent_color,tuples) fail identically on the 0.6.16 compiler, so they predate this branch.Not in this PR: the Persian code inside website
.txtand blog pages, andVector<str>elements.Summary by CodeRabbit