Bug #4083

warning in rexml/doctype.rb

Added by Aaron Patterson over 4 years ago. Updated almost 4 years ago.

[ruby-core:33305]
Status:Closed
Priority:Normal
Assignee:Kouhei Sutou
ruby -v:ruby 1.9.3dev (2010-11-24 trunk 29890) [x86_64-darwin10.5.0] Backport:

Description

=begin
rexml/doctype.rb produces this warning:

/Users/apatterson/.local/lib/ruby/1.9.1/rexml/doctype.rb:254: warning: `+' after local variable is interpreted as binary operator
/Users/apatterson/.local/lib/ruby/1.9.1/rexml/doctype.rb:254: warning: even though it seems like unary operator

I've attached a patch that fixes the problem.
=end

rexml.patch Magnifier - rexml/doctype.rb fix (380 Bytes) Aaron Patterson, 11/24/2010 02:29 AM

History

#1 Updated by Kouhei Sutou over 4 years ago

  • Category set to lib
  • Status changed from Open to Assigned
  • Target version set to 2.0.0

=begin
Thanks for reporting.
I'll fix it with code cleanup and test cases. Please wait. (maybe a few weeks...)
=end

#2 Updated by Kouhei Sutou about 4 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30113.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF