Method: JRuby::Lint::Checkers::NonAtomic#add_finding

Defined in:
lib/jruby/lint/checkers/nonatomic.rb

#add_finding(collector, node, name) ⇒ Object



64
65
66
# File 'lib/jruby/lint/checkers/nonatomic.rb', line 64

def add_finding(collector, node, name)
  collector.add_finding("Non-local operator assignment (#{name}) is not guaranteed to be atomic.", [:nonatomic, :warning], node.line+1)
end