Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Oct 21, 2024

Pure refactor. It makes more sense to me for Address and GetAddress to be defined in the same place. Also then we can use the trait for impl GetAddress for Box.

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 21, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

Copy link
Member Author

overlookmotel commented Oct 21, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on Graphite Graphite

@overlookmotel overlookmotel marked this pull request as ready for review October 21, 2024 11:13
@overlookmotel overlookmotel requested a review from Dunqing October 21, 2024 11:13
@github-actions github-actions bot added A-ast Area - AST A-transformer Area - Transformer / Transpiler C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels Oct 21, 2024
@codspeed-hq
Copy link

codspeed-hq bot commented Oct 21, 2024

CodSpeed Performance Report

Merging #6738 will not alter performance

Comparing 10-21-refactor_allocator_move_getaddress_trait_into_oxc_allocator_ (ab8aa2f) with main (7fbca9d)

Summary

✅ 30 untouched benchmarks

Copy link
Member

@Dunqing Dunqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also makes sense to me

@Dunqing Dunqing added the 0-merge Merge with Graphite Merge Queue label Oct 21, 2024
Copy link
Member

Dunqing commented Oct 21, 2024

Merge activity

  • Oct 21, 7:43 AM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Oct 21, 7:44 AM EDT: A user added this pull request to the Graphite merge queue.
  • Oct 21, 7:53 AM EDT: A user merged this pull request with the Graphite merge queue.

@Dunqing Dunqing force-pushed the 10-21-refactor_transformer_rename_oxcvec_to_avec_ branch from a5d44f4 to 64bd821 Compare October 21, 2024 11:44
Dunqing pushed a commit that referenced this pull request Oct 21, 2024
)

Pure refactor. It makes more sense to me for `Address` and `GetAddress` to be defined in the same place. Also then we can use the trait for `impl GetAddress for Box`.
@Dunqing Dunqing force-pushed the 10-21-refactor_allocator_move_getaddress_trait_into_oxc_allocator_ branch from 953c9d2 to f8d8258 Compare October 21, 2024 11:45
)

Pure refactor. It makes more sense to me for `Address` and `GetAddress` to be defined in the same place. Also then we can use the trait for `impl GetAddress for Box`.
@Dunqing Dunqing force-pushed the 10-21-refactor_transformer_rename_oxcvec_to_avec_ branch from 64bd821 to 06e06e3 Compare October 21, 2024 11:46
@Dunqing Dunqing force-pushed the 10-21-refactor_allocator_move_getaddress_trait_into_oxc_allocator_ branch from f8d8258 to ab8aa2f Compare October 21, 2024 11:47
Base automatically changed from 10-21-refactor_transformer_rename_oxcvec_to_avec_ to main October 21, 2024 11:51
@graphite-app graphite-app bot merged commit ab8aa2f into main Oct 21, 2024
@graphite-app graphite-app bot deleted the 10-21-refactor_allocator_move_getaddress_trait_into_oxc_allocator_ branch October 21, 2024 11:53
Boshen pushed a commit that referenced this pull request Oct 21, 2024
Follow-on after #6738. Since `GetAddress` is now defined in `oxc_allocator` crate, `impl GetAddress for Statement` doesn't need its own file.
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 Area - AST A-transformer Area - Transformer / Transpiler 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.

3 participants