Bug #4083
warning in rexml/doctype.rb
| Status: | Closed | Start date: | 11/24/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | lib | |||
| Target version: | 2.0.0 | |||
| ruby -v: | ruby 1.9.3dev (2010-11-24 trunk 29890) [x86_64-darwin10.5.0] |
Description
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.
Associated revisions
* lib/rexml/doctype.rb, test/rexml/test_doctype.rb: suppress warnings.
[ruby-core:33305]
Reported by Aaron Patterson. Thanks!!!
History
Updated by kou (Kouhei Sutou) over 1 year 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...)
Updated by kou (Kouhei Sutou) over 1 year 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.