Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test ab-static-option-var-018.xml #193

Closed
ndw opened this issue Jun 30, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@ndw
Copy link
Contributor

commented Jun 30, 2019

I believe this test should pass. The non-static p:variable is part of the subpipeline where shadowing is allowed.

@ndw

This comment has been minimized.

Copy link
Contributor Author

commented Jun 30, 2019

Well. I take that back:

Within the subpipeline, variables may shadow options and lexically preceding (non-static) variables.
So there's clearly a prohibition against shadowing a static variable. I don't think XS0091 is very clear though.

@ndw ndw closed this Jun 30, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.