summaryrefslogtreecommitdiff
path: root/test/ruby/test_lambda.rb
diff options
context:
space:
mode:
authorJemma Issroff <jemmaissroff@gmail.com>2023-12-13 16:41:45 -0500
committerJemma Issroff <jemmaissroff@gmail.com>2023-12-14 11:46:54 -0500
commite71f0117137c30db1dd694aa2c91c82174fa05df (patch)
treebcddb48a50fe4b059ec15491a7ea531307dd6b35 /test/ruby/test_lambda.rb
parent3658798dbb60fe55beaebc157ba43c8fe617c4a0 (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_lambda.rb')
0 files changed, 0 insertions, 0 deletions