HomePhorge

Refactor for 5027 -- get rid of lookup_qualified_var
d7201ed38929Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Refactor for 5027 -- get rid of lookup_qualified_var

Scope#lookup_qualified_var was a "magic bag" that took a qualified variable
name apart and called back in to lookupvar with a new scope. This commit is
a semantically neutral refactor that replaces it with a function to find the
desired scope as a pure function (with error detection).

Details

Provenance
Markus Roberts <Markus@reality.com>Authored on
Nick Lewis <nick@puppetlabs.com>Committed on Apr 12 2011, 9:47 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU10230cfc28e7: Step towards #5027 -- scopes should know if they are dynamic
Branches
Unknown
Tags
Unknown

Event Timeline

Nick Lewis <nick@puppetlabs.com> committed rPUd7201ed38929: Refactor for 5027 -- get rid of lookup_qualified_var (authored by Markus Roberts <Markus@reality.com>).Apr 12 2011, 9:47 PM