diff --git a/Tools/cases_generator/analyzer.py b/Tools/cases_generator/analyzer.py index b9507a263a1867..1fd306e1572075 100644 --- a/Tools/cases_generator/analyzer.py +++ b/Tools/cases_generator/analyzer.py @@ -445,7 +445,7 @@ def in_frame_push(idx: int) -> bool: ) if lhs[0].kind == lx.TIMES or any( - t.kind == lx.ARROW or t.kind == lx.LBRACKET for t in lhs[1:] + t.kind in {lx.ARROW, lx.LBRACKET} for t in lhs[1:] ): # Don't handle: *ptr = ..., ptr->field = ..., or ptr[field] = ... # Assume that they are visible to the GC.