Re: Shadowing of options/variables

"Toman, Vojtech" <vojtech.toman@emc.com> writes:

> I must admit I hit the same thing. There indeed is potential ambiguity
> there as different people may interpret

I created https://www.w3.org/Bugs/Public/show_bug.cgi?id=21266 to track
this.

> "It is a static error (err:XS0004) if an option or variable
> declaration duplicates the name of any other option or variable in the
> same environment"
>
> differently. I think the intended way to read the "in the same
> environment" is "in the very same instance of the environment data
> structure". In that sense the environment op the p:pipeline and the
> p:group are different entities. Yes, they share some bindings, but
> they are different environments.

Yes, I think that's what was meant.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Wednesday, 13 March 2013 13:48:50 UTC