-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Circuit] Support mutable IO #1351
base: master
Are you sure you want to change the base?
Conversation
36b16ee
to
5189d9b
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1351 +/- ##
==========================================
- Coverage 85.24% 85.22% -0.02%
==========================================
Files 169 169
Lines 17617 17624 +7
==========================================
+ Hits 15017 15020 +3
- Misses 2600 2604 +4 ☔ View full report in Codecov by Sentry. |
if self._bound or other._bound: | ||
raise Exception("Adding bound IO not allowed") | ||
if self._ports.keys() & other._ports.keys(): | ||
raise Exception("Adding IO with duplicate port names not allowed") |
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.
Should move this to a helper function so it can share code with __iadd__
.
See #1349.