HomePhorge

(PUP-1806) Add varargs support to 4x function API
d2d8fb213847Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-1806) Add varargs support to 4x function API

This commit adds additional methods to the 4x Function disptach to
allow declarations of required, optional, or repeated parameters. The
new methods replaces the current way of defining this using arg_count()
and last_captures_rest() and those methods are therefore removed.

NOTE: Care must be taken when merging this to master since new 4x functions have been added there that makes use of the arg_count method.

Details

Provenance
Thomas Hallgren <thomas@tada.se>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUf0f4add8d1c9: (maint) Fix so that spec tests on stable can use Hiera 2.x
Branches
Unknown
Tags
Unknown

Event Timeline

Thomas Hallgren <thomas@tada.se> committed rPUd2d8fb213847: (PUP-1806) Add varargs support to 4x function API (authored by Thomas Hallgren <thomas@tada.se>).Feb 25 2015, 4:33 PM