We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
byte
Currently match some_byte: doesn't work, but match some_byte with bytecmp does, where bytecmp is the following function:
match some_byte:
match some_byte with bytecmp
bytecmp
# TODO: should not be needed def bytecmp(a: byte, b: byte) -> int: return (a as int) - (b as int)
In fact, the match statement only works with enums if you don't use match ... with syntax.
match
match ... with
Discovered in #699
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Currently
match some_byte:
doesn't work, butmatch some_byte with bytecmp
does, wherebytecmp
is the following function:In fact, the
match
statement only works with enums if you don't usematch ... with
syntax.Discovered in #699
The text was updated successfully, but these errors were encountered: