Project

General

Profile

ยซ Previous | Next ยป 

Revision 1f226b41

Added by alanwu (Alan Wu) over 1 year ago

[PRISM] Fix multiple return with splat and splat+kwsplat

Previously, return *array, 1 didn't behave like return [*array, 1]
properly. Also, it crashed when splat and kwsplat is combined like in
array = [*things, **hash].

Fix this by grouping PM_ARGUMENTS_NODE with PM_ARRAY_NODE handling and
combining splat and kwsplat handling.