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
I understand that this is a logically ambiguous case, but I think that the current behaviour is unexpected. I expected the private rule to have precedence over the variable, or an error to be thrown.
Thanks!
The text was updated successfully, but these errors were encountered:
Test case:
If you test it with
yara testcase.yara /dev/null
, it prints a match as expected. However, definingfoo
as a falsy value prints no matches:I understand that this is a logically ambiguous case, but I think that the current behaviour is unexpected. I expected the private rule to have precedence over the variable, or an error to be thrown.
Thanks!
The text was updated successfully, but these errors were encountered: