-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Rethink variable scope validation for path pattern #5221
Comments
@czpmango could you add more tests discussed offline for this topic? |
Variable shadowing error is unexpected:
Making an implicit join on the inner variable
|
Moved this issue to the 3.5 milestone. |
related to #5235 |
Considering the amount of work, better to fix it in later version after v3.5. |
Please check the FAQ documentation before raising an issue
Describe the bug (required)
At present, the variable validation in path pattern only happens in match clause, but when the path pattern placed in the expression context, the variable's behavior will not be expected.
for example:
above tests are from the PR #5215 , and report the following error:
Your Environments (required)
uname -a
g++ --version
orclang++ --version
lscpu
a3ffc7d8
)How To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: