You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A comparison using null or a non-existing variable should resolve to a ValNull, except when it comes to comparisons. E.g.:
// Non existing less than
non-existing < 10
ValNull
// null greater than
null > 10
ValNull
For unary-test expressions one would expect the same behavior:
// Expected
null in < 10
ValNull
Instead, it will return a ValBoolean(true):
// Actual
null in < 10
ValBoolean(true)
Note that this is a regression introduced in #676. Before the return of these expressions would be ValBoolean(false)!
There are tests verifying these that are ignored for now. They must be unignored when this is fixed:
saig0
changed the title
Null and non-existing variable in unary-test expressions should resolve to ValNull
Null in unary-test expressions should resolve to ValNullJul 18, 2023
Describe the bug
A comparison using null or a non-existing variable should resolve to a
ValNull
, except when it comes to comparisons. E.g.:For unary-test expressions one would expect the same behavior:
Instead, it will return a
ValBoolean(true)
:Note that this is a regression introduced in #676. Before the return of these expressions would be
ValBoolean(false)
!There are tests verifying these that are ignored for now. They must be unignored when this is fixed:
Environment
The text was updated successfully, but these errors were encountered: