Jira (PUP-1943) Add 4x local scope
Title: Message Title Moses Mendoza updated an issue Puppet / PUP-1943 Add 4x local scope Change By: Moses Mendoza Labels: triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1943 Add 4x local scope Change By: Henrik Lindberg Component/s: Server Component/s: DSL Component/s: Compiler Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1943 Add 4x local scope Change By: Henrik Lindberg Fix Version/s: PUP 4.y Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1943 Add 4x local scope Change By: Henrik Lindberg Labels: needs_decision triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title John Duarte updated an issue Puppet / PUP-1943 Add 4x local scope Change By: John Duarte Labels: needs_decision triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title John Duarte updated an issue Puppet / PUP-1943 Add 4x local scope Change By: John Duarte Labels: needs_decision Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1943 Add 4x local scope Change By: Henrik Lindberg Team: Puppet Developer Support Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-1943 Add 4x local scope Change By: Henrik Lindberg Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg created an issue Puppet / PUP-1943 Add 4x local scope Issue Type: New Feature Assignee: Andy Parker Components: DSL Created: 13/Mar/14 6:00 PM Fix Versions: 3.6.0 Priority: Normal Reporter: Henrik Lindberg As part of the implementation of 4x scope, there is the need to be able to read and write variables in local scope. Local scope should immediately delegate to global scope if name is qualified or reserved On look up local scope should search itself, then parent, and if that fails, delegate to global scope On write, local scope should write in itself If a lookup fails (nothing bound to name) it should throw the not found symbol (as the current implementation does - see 3x runtime support), or alternatively return information in a way that makes it possible to differentiate between lookup resulted in nil/undef vs. lookup failed - name is unbound.
Jira (PUP-1943) Add 4x local scope
Title: Message Title Henrik Lindberg commented on an issue Re: Add 4x local scope To support match variables ($0, $n) the local scope should: support setting MatchData (to nil, or to a MatchData) match data can be set any number of times resolve all numerical variables against a set MatchData if no MatchData is set (it is nil), delegate to parent if there is no parent, return nil (this match variable has no value) All match variables are said to exist at all times even if not bound to a value It is important that IFF the local scope has a MatchData, then all numerical variables are resolved against it. See PUP-1945 (Ephemeral match scope) for how nested match scopes are handled. Add Comment Puppet / PUP-1943 Add 4x local scope As part of the implementation of 4x scope, there is the need to be able to read and write variables in local scope. * Local scope should immediately delegate to global scope if name is qualified or reserved * On look