Issue #6335 has been updated by Nan Liu.

Category set to language
Status changed from Accepted to In Topic Branch Pending Merge

Updated commit with a spec test as well. I can't find racc 1.4.5, so I had to 
generate the parsed.rb file with racc 1.4.6. I've rebased against the latest 
master. If parsed.rb still causes a commit conflict, I can send a new pull 
request without the file so it can be generated from the earlier version 
instead.
----------------------------------------
Bug #6335: Parameterized Class and Defined Resource Type should allow trailing 
comma in argument list
https://projects.puppetlabs.com/issues/6335

Author: Nan Liu
Status: In Topic Branch Pending Merge
Priority: Normal
Assignee: 
Category: language
Target version: 2.6.x
Affected Puppet version: 
Keywords: 
Branch: 


Parameterized Class and Defined Resource Type does not allow trailing comma. 
Instead, I would like it to behave like resource attributes where the last 
comma is optional.

    class foo (
       $bar,
       $baz,
    ) {
      ...
    }




-- 
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.

Reply via email to