Actions
Bug #7765
closedProc#arity bug with optional argument
Bug #7765:
Proc#arity bug with optional argument
Description
We have:
Matz decided [ruby-core:46515] we also have:
It looks like we currently have:
Hopefully there won't be disagreement that this is a bug?
I'm asking in particular because there was a specific test committed by Yui to that effect. I hope this was just an oversight?
My patch is ready and I will commit it unless there is objection.
https://github.com/marcandre/ruby/compare/marcandre:trunk...marcandre:proc_curry
Updated by marcandre (Marc-Andre Lafortune) over 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r39007.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
-
proc.c: Add {*}_min_max_arity and refactor.
[Bug #7765] -
test/ruby/test_proc.rb: Fix wrong test
Actions