Internal error when comparing const
Monkey Forums/Monkey Bug Reports/Internal error when comparing const
| ||
Found an error when comparing a constant to true.Const test:Bool = True Function Main:Int() If test = True Then Print("true") Else Print("false") EndIf Return 0 End Function Take out the "=true" and it works. Tested on v66b |
| ||
Any update on this? |
| ||
Still happening on v70... |
| ||
Fixed in next release - the constant evaluator was completely ignoring bools. |
| ||
huzah, thanks :D |