Blitzmax-NG Error : Implicit condition evalutation
BlitzMax Forums/Brucey's Modules/Blitzmax-NG Error : Implicit condition evalutation
| ||
Const SOME_BYTE_EXPRESSION:Byte = False; If SOME_BYTE_EXPRESSION Print "Ok" Else Print "Nope" Endif This generates the following error TCastExpr(Bool,TConstExpr(\c0\c)) cannot be statically evaluated it only works if I explicitely add "= True" or some kind of bitwise operation If SOME_BYTE_EXPRESSION = True This will work |
| ||
I opened an issue for it on github, so bugs are tracked a bit better. bye Ron |
| ||
A fix was committed to github. |