Skip to content

refactor(ast_tools): make AttrPart::List never empty#8923

Merged
graphite-app[bot] merged 1 commit intomainfrom
02-06-refactor_ast_tools_make_attrpart_list_never_empty
Feb 6, 2025
Merged

refactor(ast_tools): make AttrPart::List never empty#8923
graphite-app[bot] merged 1 commit intomainfrom
02-06-refactor_ast_tools_make_attrpart_list_never_empty

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Feb 6, 2025

Make invalid attribute syntax like #[visit(args()] (nothing inside args()) an error in parser, so individual generators don't need to handle it.

@github-actions github-actions bot added A-ast-tools Area - AST tools C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Feb 6, 2025
Copy link
Member Author

overlookmotel commented Feb 6, 2025


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 hot fixes, skip the queue and merge this PR next

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.

@graphite-app
Copy link
Contributor

graphite-app bot commented Feb 6, 2025

Merge activity

Make invalid attribute syntax like `#[visit(args()]` (nothing inside `args()`) an error in parser, so individual generators don't need to handle it.
@graphite-app graphite-app bot force-pushed the 02-06-refactor_ast_tools_make_attrpart_list_never_empty branch from af40032 to 37e1e7a Compare February 6, 2025 15:14
@graphite-app graphite-app bot merged commit 37e1e7a into main Feb 6, 2025
15 checks passed
@graphite-app graphite-app bot deleted the 02-06-refactor_ast_tools_make_attrpart_list_never_empty branch February 6, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-merge Merge with Graphite Merge Queue A-ast-tools Area - AST tools C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant