diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-22 00:32:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-22 00:45:05 +0900 |
commit | 8c5ca318cbe57269f144a4d0822c5283c1fd4e1a (patch) | |
tree | 8affdb4955703701e4b9ee9bf0ed6bc0c42da5a3 /proc.c | |
parent | 5cab86f3b0725457be3c50d3cab43b04bea53290 (diff) |
`Proc` made by `Symbol#to_proc` should be a lambda [Bug #16260]
With refinements, too.
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -739,7 +739,7 @@ rb_func_proc_new(rb_block_call_func_t func, VALUE val) return cfunc_proc_new(rb_cProc, (VALUE)ifunc, 0); } -VALUE +MJIT_FUNC_EXPORTED VALUE rb_func_lambda_new(rb_block_call_func_t func, VALUE val, int min_argc, int max_argc) { struct vm_ifunc *ifunc = rb_vm_ifunc_new(func, (void *)val, min_argc, max_argc); |