Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename the new int-based priority to rank, restore the enum to priority #957

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

RBusarow
Copy link
Collaborator

This makes the broader enum -> Int change source-compatible.

The IDE's auto-replace only partly works, because the deprecated ContributesBinding.priority parameter only works as documentation. Devs can auto-replace the enum entry with the corresponding integer, but if they're using a named argument, it will wind up with something like priority = RANK_NORMAL.

@RBusarow RBusarow force-pushed the rick/rank branch 2 times, most recently from 777ec7a to d17e4c9 Compare April 11, 2024 22:38
@RBusarow RBusarow marked this pull request as ready for review April 11, 2024 22:50
…ority`

This makes the broader enum -> Int change source-compatible.

The IDE's auto-replace only partly works, because the deprecated `ContributesBinding.priority` parameter only works as documentation. Devs can auto-replace the enum entry with the corresponding integer, but if they're using a named argument, it will wind up with something like `priority = RANK_NORMAL`.
@RBusarow RBusarow merged commit 81cd6a0 into main Apr 15, 2024
17 checks passed
@RBusarow RBusarow deleted the rick/rank branch April 15, 2024 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants