Skip to content

Conversation

@camchenry
Copy link
Member

@camchenry camchenry commented Jul 2, 2025

Syntactically, this is valid. It is only an error when you get to type checking. The error code itself can be handled as part of #11582, but this fixes an issue where we emitted an error for a case that should definitely be valid, as pointed out in the file itself.

@github-actions github-actions bot added A-ast Area - AST C-bug Category - Bug labels Jul 2, 2025
Copy link
Member Author


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.

@camchenry camchenry marked this pull request as ready for review July 2, 2025 19:34
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 2, 2025

CodSpeed Instrumentation Performance Report

Merging #12038 will not alter performance

Comparing 07-02-fix_parser_allow_extends_this.b_syntax (6d865af) with main (5851d2c)

Summary

✅ 38 untouched benchmarks

@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jul 3, 2025
Copy link
Member

Boshen commented Jul 3, 2025

Merge activity

Syntactically, this is valid. It is only an error when you get to type checking. The error code itself can be handled as part of #11582, but this fixes an issue where we emitted an error for a case that should definitely be valid, as pointed out in the file itself.
@graphite-app graphite-app bot force-pushed the 07-02-fix_parser_allow_extends_this.b_syntax branch from 52bd590 to 6d865af Compare July 3, 2025 07:12
@graphite-app graphite-app bot merged commit 6d865af into main Jul 3, 2025
24 checks passed
@graphite-app graphite-app bot deleted the 07-02-fix_parser_allow_extends_this.b_syntax branch July 3, 2025 07:20
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 3, 2025
graphite-app bot pushed a commit that referenced this pull request Jul 3, 2025
Follow-on after #12038. Call `Expression::without_parentheses` once, instead of twice.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ast Area - AST C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants