Skip to content

Wrong return type for BIT... functions #26

@GuruGurra

Description

@GuruGurra

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions