Skip to content

Split Position from Location type hierarchy#10061

Closed
Machine-Maker wants to merge 1 commit into
feature/bytecode-modificationfrom
feature/position-split
Closed

Split Position from Location type hierarchy#10061
Machine-Maker wants to merge 1 commit into
feature/bytecode-modificationfrom
feature/position-split

Conversation

@Machine-Maker
Copy link
Copy Markdown
Member

@Machine-Maker Machine-Maker commented Dec 20, 2023

This is how the bytecode modification framework from #10060 is used to replace some parameter types with Position and make Location not implement Position anymore. The test plugin is setup to compile against current paper api and show that there are no compat breaks.

Comment thread patches/api/0449-Split-Position-from-Location-type-hierarchy.patch Outdated
@Machine-Maker Machine-Maker force-pushed the feature/bytecode-modification branch from 340a97b to 77180b3 Compare December 21, 2023 06:10
@Machine-Maker Machine-Maker force-pushed the feature/position-split branch 3 times, most recently from ad1dacb to f63f5c0 Compare December 21, 2023 22:19
@Machine-Maker
Copy link
Copy Markdown
Member Author

Machine-Maker commented Dec 22, 2023

So I did a bit more converting methods and as you can see the diff has grown quite a bit. I'm starting to get hesitant to do this for more than methods with Location that we add.

One downside of not doing it all at once is it makes it slightly more annoying to work with the API before its all converted since its 2 different types.

EDIT: decided to scale back this PR to only removing Position from the Location type hierarchy and rewriting the several methods that already take Position as a parameter.

@Machine-Maker Machine-Maker force-pushed the feature/position-split branch 2 times, most recently from a607689 to d75b6c5 Compare December 22, 2023 03:19
@Machine-Maker Machine-Maker force-pushed the feature/bytecode-modification branch 2 times, most recently from b9544bf to f545498 Compare December 23, 2023 21:31
@Machine-Maker Machine-Maker force-pushed the feature/bytecode-modification branch from f545498 to 8696a8c Compare February 10, 2024 01:26
@Machine-Maker Machine-Maker force-pushed the feature/position-split branch 2 times, most recently from 6549dc8 to be4a567 Compare February 10, 2024 01:47
@Machine-Maker Machine-Maker marked this pull request as ready for review February 10, 2024 01:47
@Machine-Maker Machine-Maker requested a review from a team as a code owner February 10, 2024 01:47
@Machine-Maker Machine-Maker force-pushed the feature/bytecode-modification branch from 8696a8c to 31f14a2 Compare February 13, 2024 22:24
@Machine-Maker Machine-Maker force-pushed the feature/bytecode-modification branch from 31f14a2 to 33039cd Compare March 22, 2024 06:36
@Machine-Maker Machine-Maker force-pushed the feature/position-split branch from 06fcb36 to 5d35f62 Compare March 22, 2024 08:09
@Machine-Maker Machine-Maker force-pushed the feature/bytecode-modification branch from 33039cd to f10858e Compare August 28, 2024 05:30
@Machine-Maker Machine-Maker force-pushed the feature/position-split branch from 5d35f62 to aa08956 Compare August 28, 2024 05:30
@Warriorrrr Warriorrrr moved this from Awaiting review to Waiting For Author in Paper PR Queue Mar 5, 2025
@kennytv kennytv added the pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch label Mar 23, 2025
@kennytv kennytv deleted the branch feature/bytecode-modification March 23, 2025 19:27
@kennytv kennytv closed this Mar 23, 2025
@kennytv kennytv deleted the feature/position-split branch March 23, 2025 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pre-softspoon: never rebased Pre-hardfork pull requests that were not re-opened with the new main branch pre-softspoon

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants