[1.9] String#each is removed
----------------------------
Key: JRUBY-4260
URL: http://jira.codehaus.org/browse/JRUBY-4260
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, Ruby 1.9
Affects Versions: JRuby 1.4, JRuby 1.5
Environment: github trunk, Java 6, Mac OS X 10.6.2
Reporter: Hiro Asari
Fix For: JRuby 1.5
Attachments: 0001-Remove-String-each-in-1.9-mode.patch
{noformat}
surfboard:jruby[git:master]$ jruby spec/mspec/bin/mspec -T--1.9 spec/ruby/core
jruby 1.5.0.dev (ruby 1.9.2dev trunk 24787) (2009-11-22 c034e66) (Java
HotSpot(TM) 64-Bit Server VM 1.6.0_15) [x86_64-java]
....
862)
An exception occurred during: String#each FAILED
Expected NoMethodError but no exception was raised
/Users/asari/Development/src/jruby/spec/ruby/core/string/each_spec.rb:11
/Users/asari/Development/src/jruby/spec/ruby/core/string/each_spec.rb:10
/Users/asari/Development/src/jruby/spec/ruby/core/string/each_spec.rb:5
/Users/asari/Development/src/jruby/spec/ruby/core/string/each_spec.rb:55:in
`load'
{noformat}
This was removed in rev 10981 (more than 3 years ago).
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=10981&r2=10980&pathrev=10981
The patch removes this method.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email