puppetlabs/puppet — pull request #1045 by pcarlisle (2012-08-16 00:52:02+00:00)
Title: (#15912) Make function access consistent

Parser functions are normally stored against either the root environment or
the current environment. Before this commit, methods to access functions were
not consistent about retrieving functions from both possible places. This adds
a set of private methods to consistently access functions, and makes the
public methods use these.