Method: JRuby::Lint::Checkers::NonAtomic#visitInstAsgnNode
- Defined in:
- lib/jruby/lint/checkers/nonatomic.rb
#visitInstAsgnNode(node) ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/jruby/lint/checkers/nonatomic.rb', line 36 def visitInstAsgnNode(node) if !@last && operator_op_assignment?(node, IVAR) || @last && parent != @last check_nonatomic(node, node) end @last = nil end |