Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
0.1.1 bug: printf doesnt handle u2 .. u7 #546
This tiny program fails:
with quite confusing error:
In addition, when I change
Types like u8, u16, i8 etc work as expected.
Why is the error confusing, it even gives you a stack trace? You can look at the source yourself since this is user level code....
So base is defined as a u8. As the error message states, you can't divide a u3 by a u8. How would you fix this?