Enumerator.map is not yielding all values -----------------------------------------
Key: JRUBY-5878 URL: http://jira.codehaus.org/browse/JRUBY-5878 Project: JRuby Issue Type: Bug Components: Ruby 1.9.2 Affects Versions: JRuby 1.6.2 Environment: jruby 1.6.2 (ruby-1.9.2-p136) (2011-05-23 e2ea975) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_25) [linux-amd64-java] Reporter: Marcus Brito Assignee: Thomas E Enebo When calling each_with_index followed by map, the block passed to map gets only the value and not the index. See this gist: https://gist.github.com/1032299 The above test works fine in JRuby 1.6.2 in 1.8 mode, and in MRI 1.9.2. It fails in JRuby 1.9.2 using 1.9 mode. -- This message is automatically generated by JIRA. 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