expression-evaluator-c-sharp icon indicating copy to clipboard operation
expression-evaluator-c-sharp copied to clipboard

Wrong return type for BIT... functions

Open GuruGurra opened this issue 1 year ago • 0 comments

All BIT functions (BITOR, BITLSHIFT, ...) have a declared return type of Boolean, which is plain wrong since they return values.

It has the odd side effect that a BIT function cannot have another BIT function as an argument.

Everything seems to work if the return types for the BIT functions are changed to decimal.

GuruGurra avatar Oct 24 '24 08:10 GuruGurra