Skip to content

hdl._ast: fix using 0-width Switch with integer keys. #1134

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

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

wanda-phi
Copy link
Member

This comes up in AssignmentLegalizer-produced Switches for ArrayProxy.

Copy link

codecov bot commented Feb 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (353a8ce) 85.47% compared to head (c06fd12) 85.48%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1134   +/-   ##
=======================================
  Coverage   85.47%   85.48%           
=======================================
  Files          42       42           
  Lines        8358     8362    +4     
  Branches     1973     1975    +2     
=======================================
+ Hits         7144     7148    +4     
- Misses       1017     1018    +1     
+ Partials      197      196    -1     

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

This comes up in `AssignmentLegalizer`-produced `Switch`es for
`ArrayProxy`.
@whitequark whitequark added this pull request to the merge queue Feb 14, 2024
Merged via the queue into amaranth-lang:main with commit 5ffb48b Feb 14, 2024
@wanda-phi wanda-phi deleted the switch-0-width-int branch February 14, 2024 15:42
@whitequark whitequark added this to the 0.5 milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants