Skip to content

fix(transformer/typescript): should remove abstract field early#12417

Merged
graphite-app[bot] merged 1 commit intomainfrom
07-21-fix_transformer_typescript_should_remove_abstract_field_early
Jul 21, 2025
Merged

fix(transformer/typescript): should remove abstract field early#12417
graphite-app[bot] merged 1 commit intomainfrom
07-21-fix_transformer_typescript_should_remove_abstract_field_early

Conversation

@Dunqing
Copy link
Member

@Dunqing Dunqing commented Jul 21, 2025

Regression introduced by #12212. The transform execution shift causes the bug because the class-properties plugin always assumes that all fields accessed can be transformed. However, the prior change breaks the assumption.

This PR reverts some changes to remove the ts-only field early, which respects that class-properties assumption

@Dunqing Dunqing requested a review from overlookmotel as a code owner July 21, 2025 04:08
@github-actions github-actions bot added A-transformer Area - Transformer / Transpiler C-bug Category - Bug labels Jul 21, 2025
Copy link
Member Author

Dunqing commented Jul 21, 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.

@codspeed-hq
Copy link

codspeed-hq bot commented Jul 21, 2025

CodSpeed Instrumentation Performance Report

Merging #12417 will not alter performance

Comparing 07-21-fix_transformer_typescript_should_remove_abstract_field_early (c4a2d79) with main (299b926)

Summary

✅ 34 untouched benchmarks

@Dunqing Dunqing force-pushed the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch from fea0f41 to 44a1c97 Compare July 21, 2025 04:15
@Boshen Boshen added the 0-merge Merge with Graphite Merge Queue label Jul 21, 2025
Copy link
Member

Boshen commented Jul 21, 2025

Merge activity

graphite-app bot pushed a commit that referenced this pull request Jul 21, 2025
…2417)

* close rolldown/rolldown#5326

Regression introduced by #12212. The transform execution shift causes the bug because the `class-properties` plugin always assumes that all fields accessed can be transformed. However, the prior change breaks the assumption.

This PR reverts some changes to remove the ts-only field early, which respects that `class-properties` assumption
@graphite-app graphite-app bot force-pushed the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch from 44a1c97 to a02c6ab Compare July 21, 2025 06:30
@Dunqing Dunqing force-pushed the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch from a02c6ab to 5ebd4b0 Compare July 21, 2025 06:37
graphite-app bot pushed a commit that referenced this pull request Jul 21, 2025
…2417)

* close rolldown/rolldown#5326

Regression introduced by #12212. The transform execution shift causes the bug because the `class-properties` plugin always assumes that all fields accessed can be transformed. However, the prior change breaks the assumption.

This PR reverts some changes to remove the ts-only field early, which respects that `class-properties` assumption
@graphite-app graphite-app bot force-pushed the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch from 5ebd4b0 to 1b259a1 Compare July 21, 2025 06:38
@Dunqing Dunqing force-pushed the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch from 1b259a1 to 5ebd4b0 Compare July 21, 2025 06:39
…2417)

* close rolldown/rolldown#5326

Regression introduced by #12212. The transform execution shift causes the bug because the `class-properties` plugin always assumes that all fields accessed can be transformed. However, the prior change breaks the assumption.

This PR reverts some changes to remove the ts-only field early, which respects that `class-properties` assumption
@graphite-app graphite-app bot force-pushed the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch from 5ebd4b0 to c4a2d79 Compare July 21, 2025 06:40
@graphite-app graphite-app bot merged commit c4a2d79 into main Jul 21, 2025
25 checks passed
@graphite-app graphite-app bot deleted the 07-21-fix_transformer_typescript_should_remove_abstract_field_early branch July 21, 2025 06:48
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-transformer Area - Transformer / Transpiler C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: strictExecutionOrder breaks code with decorators on beta.27 (works on beta.26)

2 participants