Issue #15989 has been updated by Andrew Parker. Status changed from In Topic Branch Pending Review to Code Insufficient
The submitted code did the arity check in the AST, which means that it would only work for function calls from the Puppet DSL. The check needs to be made closer to the point where the function is invoked so that we catch calls from templates and other functions. ---------------------------------------- Feature #15989: It should be possible to specify arity on custom functions https://projects.puppetlabs.com/issues/15989#change-70064 Author: Erik Dalén Status: Code Insufficient Priority: Normal Assignee: Category: functions Target version: Affected Puppet version: Keywords: Branch: https://github.com/puppetlabs/puppet/pull/1042 To avoid repetitive boiler plate code checking the number of arguments it would be good if the arity of the function could be specified as an option. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
