diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-08-17 17:21:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:42 +0900 |
| commit | 424afa4446b78e918c11b644451d3f25217084c5 (patch) | |
| tree | f1ae12e517fa0fe634b02eadb65b30664baf1f25 /mrbgems/mruby-compiler/core/parse.y | |
| parent | 02e69d1c2cce62850ecbd0ca0e8af564286cc55c (diff) | |
| download | mruby-424afa4446b78e918c11b644451d3f25217084c5.tar.gz mruby-424afa4446b78e918c11b644451d3f25217084c5.zip | |
Make `Proc#parameters` to support keyword arguments; fix #5066
TODO: Unlike CRuby, mruby's `Proc#parameters` does not distinguish
required keyword arguments and optional keyword arguments currently.
Diffstat (limited to 'mrbgems/mruby-compiler/core/parse.y')
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index 8e3087a2a..b2bf8263f 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -3791,7 +3791,7 @@ f_rest_arg : restarg_mark tIDENTIFIER } | restarg_mark { - local_add_f(p, MRB_QSYM(and)); + local_add_f(p, MRB_QSYM(mul)); $$ = -1; } ; |
