EmryZhang opened a new pull request, #32:
URL: https://github.com/apache/casbin-govaluate/pull/32

   An empty parenthesized right operand of `in` produces no inner evaluation 
stage. The single-element-array handling dereferences that stage during 
planning, so expressions such as `false in ()` panic.
   
   Check that the stage exists before inspecting its symbol. Empty clauses then 
produce the normal evaluation type error. Add regressions for boolean, string 
and parameter operands, with compatibility checks for single-element lists, 
multi-element lists and zero-argument functions.
   
   Validation: the regression panics before the guard; default and cache race 
tests pass with it. The existing opt-in torture test exposed the case during 
release preparation.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to