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

[compiler] Repro: updates to globals should be retained #30470

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

Copy link

vercel bot commented Jul 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Vorschau Kommentare Updated (UTC)
react-compiler-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 26, 2024 9:40pm

@josephsavona
Copy link
Contributor

Weird, I could have sworn we had a todo for this case

@mofeiZ mofeiZ marked this pull request as ready for review July 26, 2024 21:32
@mofeiZ
Copy link
Contributor Author

mofeiZ commented Jul 29, 2024

Weird, I could have sworn we had a todo for this case

Ah I think we have a todo for unary UpdateExpressions to globals (e.g. globalVar++) but not +=.

@mofeiZ mofeiZ merged commit eadb802 into gh/mofeiZ/17/base Jul 29, 2024
19 checks passed
mofeiZ added a commit that referenced this pull request Jul 29, 2024
ghstack-source-id: 7ee813c0d72e3c752b299f63bfcec3647b022544
Pull Request resolved: #30470
@mofeiZ mofeiZ deleted the gh/mofeiZ/17/head branch July 29, 2024 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants