Skip to content

fix(oxc_minifier): should not unwrap referenceId in set_no_side_effects#10577

Closed
IWANABETHATGUY wants to merge 2 commits intomainfrom
04-24-fix_should_not_unwrap_referenced_in_set_no_side_effects
Closed

fix(oxc_minifier): should not unwrap referenceId in set_no_side_effects#10577
IWANABETHATGUY wants to merge 2 commits intomainfrom
04-24-fix_should_not_unwrap_referenced_in_set_no_side_effects

Conversation

@IWANABETHATGUY
Copy link
Contributor

@IWANABETHATGUY IWANABETHATGUY commented Apr 24, 2025

@github-actions github-actions bot added the A-minifier Area - Minifier label Apr 24, 2025
Copy link
Contributor 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.

@IWANABETHATGUY IWANABETHATGUY marked this pull request as ready for review April 24, 2025 03:38
@IWANABETHATGUY IWANABETHATGUY changed the title fix: should not unwrap referenced in set_no_side_effects fix(oxc_minifier): should not unwrap referenced in set_no_side_effects Apr 24, 2025
@github-actions github-actions bot added the C-bug Category - Bug label Apr 24, 2025
@IWANABETHATGUY IWANABETHATGUY changed the title fix(oxc_minifier): should not unwrap referenced in set_no_side_effects fix(oxc_minifier): should not unwrap referenced in set_no_side_effects Apr 24, 2025
@IWANABETHATGUY IWANABETHATGUY changed the title fix(oxc_minifier): should not unwrap referenced in set_no_side_effects fix(oxc_minifier): should not unwrap referenceId in set_no_side_effects Apr 24, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Apr 24, 2025

CodSpeed Instrumentation Performance Report

Merging #10577 will not alter performance

Comparing 04-24-fix_should_not_unwrap_referenced_in_set_no_side_effects (3246fb9) with main (f6c6969)

Summary

✅ 36 untouched benchmarks

@IWANABETHATGUY IWANABETHATGUY force-pushed the 04-24-fix_should_not_unwrap_referenced_in_set_no_side_effects branch from 588b107 to 25ccd69 Compare April 24, 2025 03:47
@IWANABETHATGUY IWANABETHATGUY requested a review from Dunqing April 24, 2025 03:49
@IWANABETHATGUY
Copy link
Contributor Author

Before, the test would panic.

@Boshen Boshen self-requested a review April 24, 2025 04:41
@Boshen Boshen self-assigned this Apr 24, 2025
@Boshen Boshen marked this pull request as draft April 25, 2025 09:31
Boshen added a commit that referenced this pull request Apr 29, 2025
closes #10577
fixes rolldown/rolldown#4261

DCE assumes semantic is correct, but semantic became sync after running the define global, causing the crash.
@graphite-app graphite-app bot closed this in 4795059 Apr 29, 2025
@Boshen Boshen deleted the 04-24-fix_should_not_unwrap_referenced_in_set_no_side_effects branch August 30, 2025 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-minifier Area - Minifier C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants