-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
refactor: int constants => enum #17435
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
Conversation
6b5acb0 to
33a3ae4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: both of these classes are planned to be deleted.
Signal is fine. Good change
I don't like Caller from an architecture POV, but I don't feel strongly here.
I do want to stop using implicit enum ordinals, and that's what I'll request changes on: that makes the order of the enums a source of bugs.
33a3ae4 to
0fc1957
Compare
This comment was marked as outdated.
This comment was marked as outdated.
0fc1957 to
649dc83
Compare
mikehardy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine by me, assuming conflict is cleaned up merge at will IMHO
Allows removal of an 'else' and improve typing.
Improve typing
649dc83 to
9d21300
Compare
Those commits add some enum for the sake of code clarity