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

Fix post processing issue with object.eval #1040

Merged
merged 1 commit into from Dec 5, 2022

Conversation

FrederikBolding
Copy link
Member

Fixes a post processing issue that would happen with assignments to properties called eval. This has been fixed by only applying our transform to callees of CallExpressions. Before we would apply it to all MemberExpressions

This illustrates the issue: https://astexplorer.net/#/gist/b1c6c7101a6a58666ad0929ef89a414a/355961e03669ad775df0a771d2e5d35f9c960bb0

Fixes #1034

@FrederikBolding FrederikBolding requested a review from a team as a code owner December 5, 2022 12:08
@FrederikBolding FrederikBolding merged commit 0e51213 into main Dec 5, 2022
@FrederikBolding FrederikBolding deleted the fb/fix-eval-post-process-issue branch December 5, 2022 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants