[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.
[PRISM] Fix multiple return with splat and splat+kwsplat
Previously,
return *array, 1
didn't behave likereturn [*array, 1]
properly. Also, it crashed when splat and kwsplat is combined like in
array = [*things, **hash]
.Fix this by grouping
PM_ARGUMENTS_NODE
withPM_ARRAY_NODE
handling andcombining splat and kwsplat handling.