Skip to content

Comments

fix(parser): prevent panic when parsing invalid extends clause#12551

Merged
Boshen merged 1 commit intomainfrom
c/07-27-fix_parser_prevent_panic_when_parsing_invalid_extends_clause
Aug 1, 2025
Merged

fix(parser): prevent panic when parsing invalid extends clause#12551
Boshen merged 1 commit intomainfrom
c/07-27-fix_parser_prevent_panic_when_parsing_invalid_extends_clause

Conversation

@camc314
Copy link
Contributor

@camc314 camc314 commented Jul 27, 2025

fixes #12546

@github-actions github-actions bot added A-parser Area - Parser C-bug Category - Bug labels Jul 27, 2025
Copy link
Contributor Author

camc314 commented Jul 27, 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.

@camc314 camc314 marked this pull request as ready for review July 27, 2025 21:24
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 27, 2025

CodSpeed Instrumentation Performance Report

Merging #12551 will not alter performance

Comparing c/07-27-fix_parser_prevent_panic_when_parsing_invalid_extends_clause (f7b3b5f) with main (ce5876d)1

Summary

✅ 34 untouched benchmarks

Footnotes

  1. No successful run was found on main (e9b9488) during the generation of this report, so ce5876d was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@Dunqing Dunqing requested a review from Boshen July 29, 2025 10:21
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Aug 1, 2025
Copy link
Member

Boshen commented Aug 1, 2025

Merge activity

  • Aug 1, 4:42 AM UTC: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Aug 1, 4:42 AM UTC: Boshen added this pull request to the Graphite merge queue.
  • Aug 1, 4:51 AM UTC: The Graphite merge queue couldn't merge this PR because it had merge conflicts.

@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Aug 1, 2025
@Boshen Boshen force-pushed the c/07-27-fix_parser_prevent_panic_when_parsing_invalid_extends_clause branch from 56813ea to f7b3b5f Compare August 1, 2025 07:52
@Boshen Boshen merged commit e836e55 into main Aug 1, 2025
25 checks passed
@Boshen Boshen deleted the c/07-27-fix_parser_prevent_panic_when_parsing_invalid_extends_clause branch August 1, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-parser Area - Parser C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic assertion failed: self.start <= self.end in oxc_span/src/span.rs

2 participants