Skip to content

hdl._dsl: fix using 0-width Switch with integer keys. #1135

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

@wanda-phi wanda-phi commented Feb 13, 2024

Fixes #1133.

Depends on #1134.

@wanda-phi wanda-phi force-pushed the switch-0-width-int-dsl branch from 0ff6d3c to 524fa1c Compare February 14, 2024 15:41
Copy link

codecov bot commented Feb 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5ffb48b) 85.48% compared to head (524fa1c) 85.48%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1135   +/-   ##
=======================================
  Coverage   85.48%   85.48%           
=======================================
  Files          42       42           
  Lines        8362     8364    +2     
  Branches     1975     1976    +1     
=======================================
+ Hits         7148     7150    +2     
  Misses       1018     1018           
  Partials      196      196           

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

@whitequark whitequark added this pull request to the merge queue Feb 14, 2024
Merged via the queue into amaranth-lang:main with commit e3324e1 Feb 14, 2024
@wanda-phi wanda-phi deleted the switch-0-width-int-dsl branch February 16, 2024 01:05
@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.

spurious warning for Switch over 0-width value
2 participants