On Wednesday, June 15, 2011 at 6:09 PM, Ian Ward Comfort wrote:

> On 15 Jun 2011, at 9:56 AM, Dan Bode wrote:
> > I just wanted to clarify something from this email. Although the best way 
> > to get traction for a ticket in the future will be voting in the ticketing 
> > system, people are always welcome to highlight particular tickets in order 
> > to solicit votes.
> 
> In that case, I'll make a shameless plug for #6863 -- allow array literals to 
> be given as function arguments in the parser. I'm pretty sure it's just an 
> oversight that this isn't currently allowed, but it leads to ugly workarounds 
> like this:
> 
>  $array = ['a','b','c']
>  $var = myfunction('first arg', $array)
> 
>  $empty_array = []
>  $other_var = myfunction($empty_array)
> 
Hmm, this should already be fixed for 2.7.0. I guess I just missed that ticket 
when fixing up the grammar. I'll verify that and update it if so.

> -- 
> Ian Ward Comfort <[email protected] (mailto:[email protected])>
> Systems Team Lead, Academic Computing Services, Stanford University
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Developers" group.
> To post to this group, send email to [email protected] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/puppet-dev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" 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-dev?hl=en.

Reply via email to