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

Make _all_ return types alphabetical #624

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Make _all_ return types alphabetical #624

merged 1 commit into from
Feb 17, 2025

Conversation

shish
Copy link
Collaborator

@shish shish commented Feb 17, 2025

Currently we're treating null and false as special cases, adding and removing them at various points in the process; this results in the return type list being sorted(types-except-null) + null. I want to remove the special-case magic, which will have the side effect of changing the return type to sorted(types). I'm pulling that out into a separate PR because it makes the future PR easier to understand, and I also think it's valid to do this by itself

Currently we're treating `null` and `false` as special cases, adding and removing them at various points in the process; this results in the return type list being `sorted(types-except-null) + null`. I want to remove the special-case magic, which will have the side effect of changing the return type to `sorted(types)`. I'm pulling that out into a separate PR because it makes the future PR easier to understand, and I also think it's valid to do this by itself
@shish shish merged commit 03e6e19 into master Feb 17, 2025
19 checks passed
@shish shish deleted the pr624 branch February 17, 2025 15:24
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.

1 participant