-
Notifications
You must be signed in to change notification settings - Fork 61
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 decor mandatory and labels optional. #1978
Make decor mandatory and labels optional. #1978
Conversation
thorstenhater
commented
Sep 14, 2022
•
edited
Loading
edited
- Make decor mandatory
- ...and label arguments to cable cell optional
- Put the most optional argument (labels) last.
In which cases would a user want a cable cell without decoration? |
Well, for one it's used quite often in our tests. Second, we had support for it before. |
Tests are perhaps not what defaults should be based on. And I can't imagine a simulation of cells without any mechanisms. So unless there is an actual use case, I would like to require it such that people don't forget that cells without e.g. mechanisms are almost certainly not what they want. |
They could have always done that so far, but sure, I see the point. More breaking change then ;) |
Done. |
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.
Looks good - these small changes have quite a substantial ripple effect!
Please merge with master, there are a couple of recipes in the SDE tests that need to be updated.
@thorstenhater If you could merge master and address @boeschf 's comments, we can merge these breaking changes before v0.8. |
… unused captures.
Done, I fixed two new warnings in
|
there is one more recipe to fix in |
Also, there's the |
bors try |
tryBuild failed: |
bors try |
|
tryBuild failed: |
That file hasn't changed in a while and I have this:
|