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
the function
log2_u64 :: (n: u64) -> u64 { n := n; i := 0; while n != 0 { n = n << 1; i = i + 1; } i }
will panic, saying that there is a mismatch between the operand types of an iadd. manually casting the last 1 into a u64 removes the panic.
log2_u64 :: (n: u64) -> u64 { n := n; i := 0; while n != 0 { n = n << 1; i = i + 1 as u64; } i }
No response
Yes
windows
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
the function
will panic, saying that there is a mismatch between the operand types of an iadd.
manually casting the last 1 into a u64 removes the panic.
Steps
No response
Notes
No response
Does this happen on the latest commit?
Yes
What targets are you seeing the problem on?
windows
The text was updated successfully, but these errors were encountered: