<ast-grep rule: <unnamed>>
pattern: any(duplicated($VAR))
inside:
  stopBy: neighbor
  field: if_statement
