Issue #22962 has been updated by Andrew Parker.

Status changed from Accepted to Merged - Pending Release
Branch set to https://github.com/puppetlabs/puppet/pull/2011

Merged into master in 
[1f712](https://github.com/puppetlabs/puppet/commit/1f7125b847f0c17beca3ca00cf14c05d1d0c291e)

----------------------------------------
Feature #22962: Remove alternative lambda syntaxes
https://projects.puppetlabs.com/issues/22962#change-99156

* Author: Henrik Lindberg
* Status: Merged - Pending Release
* Priority: Normal
* Assignee: Henrik Lindberg
* Category: language
* Target version: 3.4.0
* Affected Puppet version: 
* Keywords: future_parser language lambda
* Branch: https://github.com/puppetlabs/puppet/pull/2011
----------------------------------------
The future parser introduced alternatives how to write a lambda. Ux studied 
showed that the recommended syntax was also the one most people where 
comfortable with.

This means that the alternative forms should be removed - i.e.:

* "ruby style" - lambda parameters inside block, e.g.  `$array.each {|$x| ... }`
* "java style" - arrow after lambda parameters e.g. `$array.each |$x| => { ... 
}`


-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to