Skip to content

docs: correct stale doc comments in pq context and emacs README#6069

Open
prql-bot wants to merge 1 commit into
mainfrom
docs/stale-doc-comments
Open

docs: correct stale doc comments in pq context and emacs README#6069
prql-bot wants to merge 1 commit into
mainfrom
docs/stale-doc-comments

Conversation

@prql-bot

@prql-bot prql-bot commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Two stale/incorrect documentation fixes found in the nightly code-quality sweep. Comment/markdown only — no code behavior changes.

  • prqlc/prqlc/src/sql/pq/context.rs: the module-level docstring described semantic resolution ("Transform the parsed AST into a materialized AST, by executing functions and replacing variables"), which is the behavior of the semantic layer, not this file. This module defines AnchorContext, the PQ anchoring context that tracks table/column/relation-instance declarations and generates fresh IDs and names during RQ→SQL lowering. Rewrote the docstring to match, consistent with the struct's own doc comment just below it.
  • grammars/emacs/README.md: the install-snippet code fence used ```emacs, which is not a recognized highlight language, so renderers fall back to plain text. Changed to ```elisp.

No tests apply — these are documentation-only corrections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant