Repository navigation
🧹 chore: remove deprecated builtins and dead code, split large test modules - #2627
Merged
Merged
Conversation
Rewrite em dashes in comments, docs, READMEs and skills. Runtime output strings are left as they are. Plain code spans replace intra-doc links to private items so cargo doc reports no warnings.
RuntimeError::IndexOutOfBounds, InternalError, UnexpectedBreak and UnexpectedContinue, and cst::ParseError::ExpectedClosingBracket, along with their hints, labels and test cases.
Add tests for the is_h1..is_h6 and is_h_level helpers, the node kind predicates, is_markdown, markdowns, is_bytes, sort_by, uniq, to_date_iso8601, stream_lines, stream_chunks, stream_bytes and load_markdown.
Symbol::is_deprecated flagged any doc line that mentioned the word, while the LSP hover and the wasm hover used a stricter marker check. Move the strict check into mq-hir and use it in all three places.
builtin.rs, cst/parser.rs, ast/parser.rs and mq-run/cli.rs each shrink by about 40 to 65 percent. No test changes.
formatter.rs, mq-check/builtin.rs, mq-lsp/server.rs, mq-test/runner.rs, mq-dap/adapter.rs, tarn/bytecode.rs, mq-ffi/lib.rs and builtin/convert.rs. No test changes.
Replace the 16 positional arguments with a CrawlerOptions struct and fix the stale usage example in the crate docs.
Group the state of the module prelude scan, the directory walk and the parameter binding into structs. The add_breakpoint_with_options allow was not needed.
harehare
force-pushed
the
chore/remove-deprecated-and-dead-code
branch
from
October 20, 2026 14:47
bdf7850 to
a7dbd00
Compare
Merging this PR will not alter performance
Comparing Footnotes
|
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.
Summary
Type of Change
Checklist
cargo fmtandcargo clippyand addressed any warningsjust test-alland all tests pass/docs, crateREADME.md) if neededAdditional Context