-
Notifications
You must be signed in to change notification settings - Fork 174
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
Adds Value.matches #205
Comments
Comment by codecov[bot] Codecov Report
@@ Coverage Diff @@
## master #204 +/- ##
==========================================
- Coverage 82.75% 82.48% -0.28%
==========================================
Files 33 33
Lines 5340 5360 +20
Branches 1145 1151 +6
==========================================
+ Hits 4419 4421 +2
- Misses 795 813 +18
Partials 126 126
Continue to review full report at Codecov.
|
Comment by RobertBaruch If this looks good, should I modify so that we can accept more than one value?
|
Comment by whitequark Please do. I'll take one more look at the error messages to make sure they're consistent with the ones in |
Comment by RobertBaruch Sorry about the additional commits -- apparently that's what syncing a fork onto upstream/master does. And I don't see code coverage kicking off, either, so it's possible this commit (pretty much like anything I do with git more complicated than "submit this set of files") is borked. |
Comment by whitequark I'll just merge it locally. Will take a look somewhere in a few hours. |
Comment by whitequark
I think codecov updates the very first comment each time it finishes? |
Comment by whitequark I'm confused. Did you delete all tests? |
Comment by whitequark Implemented in master. |
Issue by RobertBaruch
Thursday Sep 12, 2019 at 01:58 GMT
Originally opened as m-labs/nmigen#204
Allows expressions like
s.matches(37)
ands.matches("1---000")
Resolved issue.
Tested:
This properly translates to il:
And to Verilog:
RobertBaruch included the following code: https://github.com/m-labs/nmigen/pull/204/commits
The text was updated successfully, but these errors were encountered: