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

Shadow lambda arguments #27235

Merged
merged 2 commits into from Aug 6, 2021
Merged

Conversation

Algunenano
Copy link
Member

@Algunenano Algunenano commented Aug 5, 2021

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
In case of ambiguity, lambda functions prefer its arguments to other aliases or identifiers

Detailed description / Documentation draft:

Tagging this as a bug because it's behaviour wasn't what's documented (#23194), but feel free to change it to an improvement if you think it should be treated as such.

Closes #5046

In case of ambiguity, lambda functions should prefer its arguments to
other aliases or identifiers
@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Aug 5, 2021
Be a good citizen and leave a test checking for the recovery
after the lambda function has been processed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shadow variables in higher order functions/improve error message for naming collisions
3 participants