diff options
| author | Jemma Issroff <jemmaissroff@gmail.com> | 2023-12-13 16:41:45 -0500 |
|---|---|---|
| committer | Jemma Issroff <jemmaissroff@gmail.com> | 2023-12-14 11:46:54 -0500 |
| commit | e71f0117137c30db1dd694aa2c91c82174fa05df (patch) | |
| tree | bcddb48a50fe4b059ec15491a7ea531307dd6b35 /test/ruby/test_transcode.rb | |
| parent | 3658798dbb60fe55beaebc157ba43c8fe617c4a0 (diff) | |
[PRISM] Fix bugs in compiling optional keyword parameters
This PR fixes two bugs when compiling optional keyword parameters:
- It moves keyword parameter compilation to STEP 5 in the parameters
sequence, where the rest of compilation happens. This is important
because keyword parameter compilation relies on the value of
body->param.keyword->bits_start which gets set in an earlier step
- It compiles array and hash values for keyword parameters, which
it didn't previously
Diffstat (limited to 'test/ruby/test_transcode.rb')
0 files changed, 0 insertions, 0 deletions
