diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-08-08 13:09:17 -0700 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-09-03 11:30:49 -0700 |
commit | e94ac03eb0d07af3cbff20194acf479bf8851c39 (patch) | |
tree | 5a87f9a350b938f01408cfd6236d0a9a5fcda322 /spec/ruby | |
parent | fb67d4fc77f211cfec6b2065787d9212f4e2154b (diff) | |
download | ruby-e94ac03eb0d07af3cbff20194acf479bf8851c39.tar.gz |
Make Enumerator::Lazy#with_index be lazy
Previously, Enumerator::Lazy#with_index was not defined, so it
picked up the default implementation from Enumerator, which was
not lazy.
Based on earlier patch from nobu.
Fixes [Bug #7877]
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions