Skip to content

fix(ast_tools): correct error message and doc comment#20930

Merged
graphite-app[bot] merged 1 commit intomainfrom
om/04-01-docs_ast_tools_correct_doc_comment
Apr 1, 2026
Merged

fix(ast_tools): correct error message and doc comment#20930
graphite-app[bot] merged 1 commit intomainfrom
om/04-01-docs_ast_tools_correct_doc_comment

Conversation

@overlookmotel
Copy link
Copy Markdown
Member

@overlookmotel overlookmotel commented Apr 1, 2026

Correct an incorrect error message, and a doc comment which was out of date after the introduction of Ident type.

Copy link
Copy Markdown
Member Author

overlookmotel commented Apr 1, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added A-ast-tools Area - AST tools C-docs Category - Documentation. Related to user-facing or internal documentation labels Apr 1, 2026
@overlookmotel overlookmotel marked this pull request as ready for review April 1, 2026 11:01
Copilot AI review requested due to automatic review settings April 1, 2026 11:01
@overlookmotel overlookmotel self-assigned this Apr 1, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates an ESTree schema extension doc comment to reflect newer AST string-like types (notably Ident) used by ast_tools, keeping developer-facing documentation accurate after recent type introductions.

Changes:

  • Update ESTreeStructField::json_safe doc comment to include Ident and Option<...> variants.
  • Minor punctuation/formatting improvement in the updated doc comment.

Comment thread tasks/ast_tools/src/schema/extensions/estree.rs
@overlookmotel overlookmotel force-pushed the om/04-01-docs_ast_tools_correct_doc_comment branch from 4781316 to a718529 Compare April 1, 2026 11:54
@overlookmotel overlookmotel changed the title docs(ast_tools): correct doc comment fix(ast_tools): correct error message and doc comment Apr 1, 2026
@overlookmotel overlookmotel added C-bug Category - Bug labels Apr 1, 2026
@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Apr 1, 2026

Merge activity

Correct an incorrect error message, and a doc comment which was out of date after the introduction of `Ident` type.
@graphite-app graphite-app Bot force-pushed the om/04-01-refactor_napi_parser_linter_plugins_shorten_raw_transfer_deserializers_for_option_s branch from 2770276 to 15546c0 Compare April 1, 2026 12:08
@graphite-app graphite-app Bot requested a review from camc314 as a code owner April 1, 2026 12:08
@graphite-app graphite-app Bot force-pushed the om/04-01-docs_ast_tools_correct_doc_comment branch from a718529 to 2a28e4c Compare April 1, 2026 12:09
Base automatically changed from om/04-01-refactor_napi_parser_linter_plugins_shorten_raw_transfer_deserializers_for_option_s to main April 1, 2026 12:14
@graphite-app graphite-app Bot merged commit 2a28e4c into main Apr 1, 2026
25 checks passed
@graphite-app graphite-app Bot deleted the om/04-01-docs_ast_tools_correct_doc_comment branch April 1, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast-tools Area - AST tools C-bug Category - Bug C-docs Category - Documentation. Related to user-facing or internal documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants