Another namespace question

Graydon Hoare graydon at mozilla.com
Wed Dec 12 15:50:43 PST 2007


Michael O'Brien wrote:

> Could not a "use namespace" directive be anywhere in a block and then 
> apply to that entire block scope. Just like
> a variable declaration.  If so, then what happens if multiple use 
> namespace directives exist in a single block scope?

The behavior of the RI in this regard currently reflects an outdated 
consensus the committee held in the past. It has not been modified since 
then due to ongoing discussion of the matter. When consensus 
(re-)emerges, I'll update the RI.

You can track this issue in http://bugs.ecmascript.org/ticket/282

-Graydon




More information about the Es4-discuss mailing list