-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[skip ci] - Moving do expression to stage 1 #6943
Conversation
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.
It's still used here https://github.com/rajzshkr/babel/blob/3d7703bf91824481a2296c4b1e2af6f8957ff96c/packages/babel-preset-stage-0/src/index.js#L3
And you need to move this in the stage-1 preset.
Btw the tests didn't catch that.
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/6069/ |
…oving-do-stage1 # Conflicts: # packages/babel-preset-stage-1/package.json
I didnt see any test cases to catch this |
Sorry I wasn't clear, I meant by this that there's no tests on our presets. Testing the transformations would be too difficult to maintain I think but we can at least test that they are correct Babel plugins. |
Based on the spec, we have to move
do expression
to stage 1 https://github.com/tc39/proposals#stage-1