Replies: 1 comment 2 replies
-
Your problem is that CodeQL uses a bottom-up evaluation model: to evaluate If you find you need to do that a lot, a good way to go about is defining In this particular case it seems likely you're trying to disable some predicate by adding |
Beta Was this translation helpful? Give feedback.
-
I noticed that when I run something like this with some_fuction I defined:
exists(1=2 and some_function())
some_function is called even though 1 is clearly not equal to 2 and I'd think it would stop evaluating at that moment.
Is that an expected behavior? Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions