Project

General

Profile

« Previous | Next » 

Revision 2dbcc123

Added by jeremyevans (Jeremy Evans) over 1 year ago

Do not apply anon_rest optimization when passed array uses keyword-flagged hash

The optimization sets args->rest_dupped to avoid allocating an array,
but this is not safe if the splat array ends in a keyword flagged
hash. Unset args->rest_dupped in this case.

Fixes [Bug #20388]