Project

General

Profile

Actions

Bug #4083

closed

warning in rexml/doctype.rb

Added by tenderlovemaking (Aaron Patterson) about 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2010-11-24 trunk 29890) [x86_64-darwin10.5.0]
Backport:
[ruby-core:33305]

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


Files

rexml.patch (380 Bytes) rexml.patch rexml/doctype.rb fix tenderlovemaking (Aaron Patterson), 11/24/2010 02:29 AM
Actions #1

Updated by kou (Kouhei Sutou) about 14 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

Actions #2

Updated by kou (Kouhei Sutou) about 14 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

Actions

Also available in: Atom PDF

Like0
Like0Like0