Actions
Bug #9520
closedArity of a Proc obtained by Symbol#to_proc
Description
I'm not sure is it a bug, but I find this behavior wrong.
:to_s.to_proc.arity # => -1
but isn't :to_s.to_proc is the same as ->(x){x.to_s} whose arity is 1?
Actions
Like0
Like0