Skip to content

false != true #217

@define-private-public

Description

@define-private-public

I toyed around with the boolean operators a bit. This came up

eval> true == true;
true
eval> false == false;
true
eval> false == true;
false
eval> true == false;
false
eval> false != true;
Error: "Can not find appropriate '!=' operator." With parameters: (const bool, const bool) during evaluation at (1, 1)
eval> true != false;
Error: "Can not find appropriate '!=' operator." With parameters: (const bool, const bool) during evaluation at (1, 1)

Shouldn't false != true return true instead of throwing an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions