Bug #2555
closed"case n when *VALID" Broken in Ruby 1.8.8; affects Ruby on Rails
Description
=begin
This affects uses of the "builder" gem.
Related commits:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24695
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25658
Results when run against selected versions of 1.8.8:
ruby 1.8.8dev (2009-08-26 revision 24669) [x86_64-linux]
a
valid
valid
ruby 1.8.8dev (2009-08-26 revision 24695) [x86_64-linux]
*
INVALID
INVALID
ruby 1.8.8dev (2009-11-05 revision 25657) [x86_64-linux]
*
INVALID
INVALID
ruby 1.8.8dev (2009-11-05 revision 25658) [x86_64-linux]
*
valid
INVALID
=end
Files
Updated by rubys (Sam Ruby) almost 15 years ago
=begin
I should have mentioned that the attachment is the test case.
=end
Updated by bitsweat (Jeremy Daer) almost 15 years ago
Updated by knu (Akinori MUSHA) almost 15 years ago
- Status changed from Open to Closed
=begin
This issue was solved with changeset r26589.
Romulo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Updated by rubys (Sam Ruby) almost 15 years ago
=begin
The test case provided still fails.
As near as I can tell, changeset r26589 only contains test cases, but no changes to Ruby itself.
Please reopen this bug.
=end
Updated by knu (Akinori MUSHA) almost 15 years ago
=begin
I never meant to close this.
I wish "ref [Bug #...]" would have been parsed just like "cf: [Bug #...]".
=end
Updated by marcandre (Marc-Andre Lafortune) almost 15 years ago
- Category set to core
- Status changed from Closed to Open
=begin
=end
Updated by rubys (Sam Ruby) over 14 years ago
=begin
http://redmine.ruby-lang.org/repositories/revision/ruby-18?rev=26737 reverts http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24695 and addresses this problem. This issue can be closed at this time.
=end
Updated by naruse (Yui NARUSE) over 14 years ago
- Status changed from Open to Closed
=begin
I wish "ref [Bug #...]" would have been parsed just like "cf: [Bug #...]".
#... may change when the ticket moves from bug to backport or something.
So writing ref #... is correct.
=end