-
Notifications
You must be signed in to change notification settings - Fork 3k
Eliminate duplicated code to improve safety in TCCL stack #47827
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
Eliminate duplicated code to improve safety in TCCL stack #47827
Conversation
Status for workflow
|
The test failure isn't caused by this change, since it started appearing earlier today. Sadly, the first build it appeared in is also one of mine, #47822. But I might have been unlucky, since I did a lot of all-test CI runs today. |
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.
I personally like it, so up to you whether you want to go forward with it
Thanks, @geoand. I think the changes are an improvement, on balance. |
👌 |
@geoand, what do you think of this? It eliminates a bit of duplicated code, at the expense of reducing clarity (
Consumer
functional interfaces, and so on). But I think the main benefit is ensuring that the condition for adding something to the stack is guaranteed to be the same as the condition for removing it.