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

Feature: add reorder_type_constraints option #5370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0xangelo
Copy link

@0xangelo 0xangelo commented Jun 4, 2022

This PR addresses #5116

It reorders constraints on generics alphabetically. Treatment of comments interleaved with constraints is yet to be done.

Tips for improvements, special test cases, etc, are highly appreciated.

Thanks to @ytmimi for tips on how to implement this feature.

@calebcartwright
Copy link
Member

Thank you for the PR!

I find myself wondering if we"re going to end up needing to support additional flexibility as we"ve seen requested in other areas. I"ll write up my thoughts on the original issue for broader consideration and we can take it from there

@calebcartwright
Copy link
Member

Going to mark this as on-hold for now as I think we need to get a clearer picture of what we"re trying to solve for before we can really proceed with the implementation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants