Created
March 20, 2019 19:13
-
-
Save enebo/f554a30d0da728a0e63b65bdcdb5a5a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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