Issue #5824 has been updated by Oliver Hookins.
This would actually make a lot of sense. Certainly it would clarify the code and simplify this form of expression. ---------------------------------------- Feature #5824: Puppet language should have self keyword https://projects.puppetlabs.com/issues/5824 Author: Dan Bode Status: Needs Decision Priority: Normal Assignee: Nigel Kersten Category: language Target version: Affected Puppet version: 2.6.0 Keywords: Self reference Branch: With the introduction of the new relationship syntax, I often find myself doing: <pre> class myclass { Class['myclass']->Resource['sometitle'] } </pre> It would be nice to be able to reference myself as follows: <pre> class myclass { Self->Resource['sometitle'] } </pre> -- 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.
