Skip to content

fix(rsc): preserve * for generators#1183

Merged
hi-ogawa merged 1 commit intovitejs:mainfrom
james-elicx:james/hoist-generator
Apr 13, 2026
Merged

fix(rsc): preserve * for generators#1183
hi-ogawa merged 1 commit intovitejs:mainfrom
james-elicx:james/hoist-generator

Conversation

@james-elicx
Copy link
Copy Markdown
Contributor

The * syntax for generator functions was being dropped, resulting in syntax errors. This preserves it.

@james-elicx james-elicx marked this pull request as ready for review April 12, 2026 10:46
Copy link
Copy Markdown
Contributor

@hi-ogawa hi-ogawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@hi-ogawa hi-ogawa merged commit 0df3060 into vitejs:main Apr 13, 2026
17 checks passed
@james-elicx james-elicx deleted the james/hoist-generator branch April 13, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants