http://d.puremagic.com/issues/show_bug.cgi?id=199



--- Comment #21 from Stewart Gordon <[email protected]> 2013-05-29 12:05:24 PDT ---
The only statement nodes that create a scope according to the spec are
ScopeStatement and ScopeBlockStatement.  When you have

Identifier : { StatementList }

the structure is

LabeledStatement
    Identifier
    :
    NoScopeStatement
        BlockStatement
            {
            StatementList
            }

No node that creates a scope here.  It's the same way with the conditional
compilation statements.  Of course, statements within the StatementList may
introduce their own scopes, but nothing in this parse tree as it stands creates
a scope.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to