Issue #20002 has been updated by Erik Dalén.
For functions it says here http://docs.puppetlabs.com/puppet/3/reference/lang_functions.html#syntax > Any number of arguments, separated with commas; the number and type of > arguments are controlled by the function For selectors it says here http://docs.puppetlabs.com/puppet/3/reference/lang_conditional.html#syntax-3 > Any number of possible matches, each of which consists of: > > * A case > * The => (fat comma) keyword > * A value > * A trailing comma ---------------------------------------- Bug #20002: Arrows are allowed instead of commas in many places https://projects.puppetlabs.com/issues/20002#change-87859 * Author: Erik Dalén * Status: Needs More Information * Priority: Normal * Assignee: Erik Dalén * Category: parser * Target version: * Affected Puppet version: 3.1.1 * Keywords: * Branch: ---------------------------------------- For example selectors, function argument lists and case statements allow arrows (=>) instead of commas to separate items. This should not be allowed according to docs. Allows for the following syntaxes for example: notice("foo" => "bar") $a 3 ? {1=>2=>3=>4=>5=>6} -- 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
