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

Remove () expressions and () type except returns. #28485

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

mikebenfield
Copy link
Collaborator

@mikebenfield mikebenfield commented Jan 6, 2025

This PR removes () expressions and the () type except in function output types.
This is because () serves no purpose beyond indicating the absence of return values, at least until/unless we have some kind of type polymorphism.

@mikebenfield mikebenfield requested a review from d0cd January 6, 2025 18:56
Base automatically changed from type-refactor to mainnet January 7, 2025 00:36
Copy link
Collaborator

@d0cd d0cd left a comment

Choose a reason for hiding this comment

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

Looks good overall! Left some minor comments for additional test coverage. Could you also put a short description in the PR?

Good to merge otherwise!

() serves no purpose beyond indicating the absence of return values, at
least until/unless we have some kind of type polymorphism.
@mikebenfield mikebenfield merged commit f636bed into mainnet Jan 7, 2025
10 checks passed
@mikebenfield mikebenfield deleted the remove-unit2 branch January 7, 2025 18:38
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