not(expr) broken #2
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
It looks like annotating
[@config (not(a = 1))]
actually breaks at evaluation time with:And using a variable to test for it being unset like
[@config (not(a))]
, failed with:The expected behavior is that both of these parse correctly and evaluate as follows:
not(expr)
is equals to false if the expression is true, or true if it is falsenot(varName)
is equals to true if the varName is not defined in the environment or has no value, or false if varName has a valueThe text was updated successfully, but these errors were encountered: