iets3.opensource icon indicating copy to clipboard operation
iets3.opensource copied to clipboard

Nix semantics are inconsistent for logical operators

Open HeikoBecker opened this issue 2 years ago • 2 comments

The test case logicalgroups documents the behavior of the logical operators && and || (node url).

Looking at the test conditionalAnding (picture below), I would expect nix && true to return empty too, but this is not the case. image image

The same issue can be seen for ||: image

Further, looking at the nix testcase that documents the behavior of the other logical operators given nix values (node url) I would expect the testcase conditionalAnding to be image but this does not pass the tests.

HeikoBecker avatar Feb 22 '23 08:02 HeikoBecker

@HeikoBecker can this ticket be closed or were all changes reverted?

alexanderpann avatar Jul 16 '24 16:07 alexanderpann

All changes were reverted. This ticket is still relevant.

HeikoBecker avatar Jul 17 '24 04:07 HeikoBecker