-
Notifications
You must be signed in to change notification settings - Fork 831
Fix nested copy-and-update with complex original expressions #16253
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
Conversation
vzarytovskii
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks
|
This is not necessarily related to this PR but I have been chasing an compiler |
|
@kerams Do you know if there are any tests for reported symbols that cover these cases? It would be nice to assert that we still report usages of the symbols in the nested expressions correctly. |
|
A couple have been added in #15699 |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
Fixes #16237.
I'm not happy with this solution. I tried to put similar code into
TransformAstForNestedUpdates, but the record checking functions create intermediary bindings too, so then I ended up with duplicates. This works, but feel free to refactor.