Bug #4083

warning in rexml/doctype.rb

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

Assignee:Kouhei Sutou
ruby -v:ruby 1.9.3dev (2010-11-24 trunk 29890) [x86_64-darwin10.5.0] Backport:


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.

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


#1 Updated by Kouhei Sutou almost 5 years ago

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

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

#2 Updated by Kouhei Sutou almost 5 years ago

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

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.


Also available in: Atom PDF