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

transformer: needs to inject babelHelpers to run exec tests #7019

Closed
Dunqing opened this issue Oct 30, 2024 · 1 comment
Closed

transformer: needs to inject babelHelpers to run exec tests #7019

Dunqing opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
A-transformer Area - Transformer / Transpiler C-enhancement Category - New feature or request

Comments

@Dunqing
Copy link
Member

Dunqing commented Oct 30, 2024

Some plugins will transform code and wrap in helper functions, but now we haven't injected the babelHelpers global variable, which caused our exec tests to fail as long as we use the helper function. e.g: #6573

The implementation is like #6818 and would be better if we could reuse it

@Dunqing Dunqing added C-enhancement Category - New feature or request A-transformer Area - Transformer / Transpiler labels Oct 30, 2024
@Boshen Boshen self-assigned this Oct 30, 2024
@Boshen Boshen closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-transformer Area - Transformer / Transpiler C-enhancement Category - New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants
@Boshen @Dunqing and others