Currently, the compiler allows this:
while not .is_eof() and .is_numeric() or .get_byte() == b'.' {
// ...
}
But this is ambiguous as to how the and
and or
should be resolved. Instead, we should prevent both being part of the same "group", requiring that parentheses are provided to disambiguate it:
// either:
while not .is_eof() and (.is_numeric() or .get_byte() == b'.') {
// ...
}
// or:
while (not .is_eof() and .is_numeric()) or .get_byte() == b'.' {
// ...
}
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too