Evaluator -> InferState
This commit is contained in:
1 parent
8157d119a7
commit
a5dff65142
62 files changed
+768
-768
No files matched your search
@@ -106,7 +106,7 @@ def _break_check(context, context_scope, flow_scope, node):
|
||||
|
||||
|
||||
def _check_if(context, node):
|
||||
with execution_allowed(context.evaluator, node) as allowed:
|
||||
with execution_allowed(context.infer_state, node) as allowed:
|
||||
if not allowed:
|
||||
return UNSURE
|
||||
|
||||
|
||||
Reference in new issue
Block a user