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

RFC 4: accept any constant-castable expression as enumeration value #775

Merged
merged 2 commits into from
May 12, 2023

Conversation

whitequark
Copy link
Member

No description provided.

This commit is a preparation for accepting const-castable expressions
as enum member values.

See amaranth-lang#755.
@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Merging #775 (6552f9a) into main (5f6b36e) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #775      +/-   ##
==========================================
+ Coverage   82.14%   82.16%   +0.02%     
==========================================
  Files          51       51              
  Lines        6871     6881      +10     
  Branches     1668     1673       +5     
==========================================
+ Hits         5644     5654      +10     
+ Misses       1033     1032       -1     
- Partials      194      195       +1     
Impacted Files Coverage Δ
amaranth/lib/enum.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@whitequark whitequark merged commit 4398575 into amaranth-lang:main May 12, 2023
8 of 9 checks passed
@whitequark whitequark deleted the rfc-4-enums branch May 12, 2023 15:39
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.

None yet

1 participant