HomePhorge

(PUP-4438) Fix problem with repeated param after weaving
e01c4dc924cdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-4438) Fix problem with repeated param after weaving

Before this, if weaving was used and there was a repeated parameter
it would only receive the first value in the set of variable values.
This was caused by recording the index of the parameter, and then
picking only this argument when weaving.

This fix records repeating parameters as a negative value where -1
means value 0..-1, and thus -n means values (-n-1)..-1. The weaving then
weaves a new array where multiple values are copied over.

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU503baa55f83e: (PUP-4178) Complete defined() function and spec tests
Branches
Unknown
Tags
Unknown

Event Timeline

Henrik Lindberg <henrik.lindberg@cloudsmith.com> committed rPUe01c4dc924cd: (PUP-4438) Fix problem with repeated param after weaving (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Apr 21 2015, 5:58 PM