-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Pipeline operator doesnt await properly #7480
Comments
Hey @dacz! We really appreciate you taking the time to report an issue. The collaborators If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack |
I'd be happy to take a look at this after we land #7458. |
This will be fixed by #7154 |
@nicolo-ribaudo thanks. Do you have any idea when it will be released? You requested changes in #7154 in Jan and it is kind of stalled since then and with conflicts with master. |
So we're going to ban |
@mAAdhaTTah Thank for the note. I've read the conversations but it's not clear to me. Pipeline operator (as part of the Do I understand it well? Thanks a lot. |
Yes, although not "probably"; those two different plugins are in progress already, representing two different proposals for the pipeline operator. We're doing this to solicit feedback from the community on them. Edit: Excuse me, one babel plugin, flags for the various "modes". |
I believe we can close this, as we banned |
I dunno; maybe it’d be good to keep it open until we finish actually implementing it in them. It’s “in progress”, at least. But either way is probably fine. |
Given the current incarnation of the proposals, I think this may be closed with a WONTFIX. IIRC, this input code is a syntax error both in 5 |> await f1 |> await f2; And if we put parentheses around the return _ref2 = (_3 = 5, (await f1)(_3)), (await f2)(_ref2); Which doesn't seem to be the intention of the OP. |
await
in pipeline doesn't translate to working code as described in specs.Input Code
repl
babel v7.0.0.-beta39
Expected Behavior
translates to
should translate to
The text was updated successfully, but these errors were encountered: