-
Notifications
You must be signed in to change notification settings - Fork 493
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
Enhancement: Add missing ArgEnum fields, tweaks to immediate note #4903
Enhancement: Add missing ArgEnum fields, tweaks to immediate note #4903
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4903 +/- ##
==========================================
+ Coverage 54.08% 54.09% +0.01%
==========================================
Files 427 427
Lines 53528 53528
==========================================
+ Hits 28948 28958 +10
+ Misses 22314 22305 -9
+ Partials 2266 2265 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's general good. I have some notes.
@@ -1548,7 +1548,7 @@ For boxes that exceed 4,096 bytes, consider `box_create`, `box_extract`, and `bo | |||
|
|||
## block f | |||
|
|||
- Opcode: 0xd1 {uint8 block field} | |||
- Opcode: 0xd1 {uint8 block field index} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with this change (and similar, above) I suppose, but don't love it. The word "index" helps to convey that the encoding here is a number that is an index into an arbitrary list of fields, defined elsewhere. Without it, a reasonable person could ask, "What do you mean, how do I encode a field?"
On the other hand, it's not as though having the word index there makes it obvious what's going on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
open to other suggestions, option
?
Updating the
ImmediateNote
fields to be a bit more consistent.Adding
ArgEnum
handler for several ops that were missing their immediate argument options.