summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/inline_docs.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-03-13 14:44:56 -0800
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit8bafc37a532b7bef541186e7bb719f50c0eda600 (patch)
tree831a2bdbcf58ae262227d231ab1415ad265c374b /lib/puppet/util/inline_docs.rb
parent7403c6e34270c01bb342c128fb88064c257467fe (diff)
downloadpuppet-8bafc37a532b7bef541186e7bb719f50c0eda600.tar.gz
puppet-8bafc37a532b7bef541186e7bb719f50c0eda600.tar.xz
puppet-8bafc37a532b7bef541186e7bb719f50c0eda600.zip
Move scope parenting & class_scope from Compiler to Scope
This refactor fixes about a quarter of the test failures on master and (I hope) will simplify some of the integration issues on the testing branch. It is my best guess at The Right Thing To Do (or at least a step in that direction) but I could be persuaded otherwise. The basic idea is to take responsibility for maintaining scope hierarchy and class_name -> class_scope mapping out of the compiler class and put it in the scope class where it arguably belongs. To maintain the semantics, class scopes are all tracked by the "top level" scope, though this could be relaxed if the nesting semantics were ever needed. If this winds up being the right thing to do, related routines (e.g. newscope) should be sorted out as well.
Diffstat (limited to 'lib/puppet/util/inline_docs.rb')
0 files changed, 0 insertions, 0 deletions