Blitzmax-NG Error : Implicit condition evalutation

BlitzMax Forums/Brucey's Modules/Blitzmax-NG Error : Implicit condition evalutation

Bobysait(Posted 2016) [#1]
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


Derron(Posted 2016) [#2]
I opened an issue for it on github, so bugs are tracked a bit better.


bye
Ron


Brucey(Posted 2016) [#3]
A fix was committed to github.