summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-08-28 16:41:39 -0700
committerJeremy Evans <code@jeremyevans.net>2019-12-03 23:18:28 +0200
commita029b54ec716812ade37fef1f857c49f821a8cc8 (patch)
treed754e3d18feed2eb2d6a8f620fdf996caf786c90 /spec
parent47c97e1e843159c3c4d57f8c5e22daea57c3ffe1 (diff)
Make Enumerator::Chain#each treat lambdas as lambda
Previously, lambdas were converted to procs because of how rb_block_call works. Switch to rb_funcall_with_block, which handles procs as procs and lambdas as lambdas. Fixes [Bug #15613]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2720
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions