Page 41 of 41

Re: Prog8 language and compiler topic

Posted: Wed May 07, 2025 9:19 pm
by desertfish
A problem was found in 11.3.1 that now fails to compile this:

word x
x &= $fff8

you can rewrite it as:
x = x & $fff8 as word

Or get the latest development compiler build from github, because the bug has been fixed there.
The problem only occurs when you're doing bitwise operations on a signed and unsigned value.