-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add hexadecimal literals for Byte
#814
Comments
I'm setting this as a good first issue, so here's a walkthrough.
|
Also, please remember to update the effekt/libraries/common/effekt.effekt Lines 91 to 98 in f4c840f
|
Format:
'0x' <hexa> <hexa>
where<hexa> ::= 0 | 1 | ... | a | A | b | B | ... | f | F
.Note that it's only for bytes, i.e. values between
0x00
(0) and0xFF
(255) that have theByte
type, everything else should fail.Specifically, this notation is not for integers of type
Int
, it's just for us being able to write0xEF
directly instead of relying on239.toByte
.The text was updated successfully, but these errors were encountered: