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

[Types] Add recursive wiring key ordering check #1317

Merged
merged 7 commits into from
Sep 22, 2023
Merged

Conversation

leonardt
Copy link
Collaborator

Fixes #1316

Ensures that recursive types check tuple key ordering

Fixes #1316

Ensures that recursive types check tuple key ordering
@leonardt leonardt requested a review from rsetaluri September 14, 2023 23:23
@codecov-commenter
Copy link

codecov-commenter commented Sep 15, 2023

Codecov Report

Patch coverage: 90.00% and project coverage change: -0.01% ⚠️

Comparison is base (4387b64) 85.94% compared to head (0600fd7) 85.94%.
Report is 1 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1317      +/-   ##
==========================================
- Coverage   85.94%   85.94%   -0.01%     
==========================================
  Files         169      169              
  Lines       17727    17732       +5     
==========================================
+ Hits        15236    15240       +4     
- Misses       2491     2492       +1     
Files Changed Coverage Δ
magma/tuple.py 90.00% <87.50%> (+0.08%) ⬆️
magma/wire.py 95.00% <100.00%> (+0.26%) ⬆️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rsetaluri rsetaluri changed the title [Tuple] Add recursive wiring key ordering check [Types] Add recursive wiring key ordering check Sep 21, 2023
magma/tuple.py Outdated Show resolved Hide resolved
magma/tuple.py Outdated Show resolved Hide resolved
@leonardt leonardt requested a review from rsetaluri September 21, 2023 19:56
Copy link
Collaborator

@rsetaluri rsetaluri 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 modulo magma_type comment for is_bindable

magma/tuple.py Outdated Show resolved Hide resolved
@leonardt leonardt merged commit 5598f23 into master Sep 22, 2023
4 checks passed
@leonardt leonardt deleted the tuple-order-recursive branch September 22, 2023 00:58
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.

[Types] Tuple field wiring check needs to happen recursively
3 participants