Skip to content

Instantly share code, notes, and snippets.

@enebo
Created March 20, 2019 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enebo/f554a30d0da728a0e63b65bdcdb5a5a4 to your computer and use it in GitHub Desktop.
Save enebo/f554a30d0da728a0e63b65bdcdb5a5a4 to your computer and use it in GitHub Desktop.
CallNode
end
def visitInstAsgnNode(node)
if !@last
check_nonatomic if !operator_op_assignment?(node)
elsif parent != @last
check_nonatomic(node, node)
end
@last = nil
end
def visitClassVarAsgnNode(node)
check_nonatomic(node, node)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment