Amjad Masad 2220167903 Fix recursion in async-to-generator transforms
We're naming the inner generator function in the name of the
original async function. This means when people have recursive
await calls it refers to the generator version. Which is fine
if we had a `yield *` (delegate). However, if not it leads to
returning an unresolved generator object.

We can either capture all recursive calls and add a delegate, which
becomes really hard with expressions. I choose to have the name
reserved to the exposed function `retFunction`.

Fixes #2782
2015-11-03 17:05:41 -08:00
2015-11-03 01:21:51 +00:00
2015-10-05 16:41:32 +01:00
2015-10-29 17:51:24 +00:00
2015-07-16 15:46:31 +01:00
2014-12-16 22:17:35 -08:00
2015-02-16 14:36:57 +11:00
2015-11-03 10:04:20 +00:00
2015-09-01 05:09:42 +01:00
2015-11-03 10:21:51 +00:00

babel

The compiler for writing next generation JavaScript.

Build Status npm version Downloads

Issue Stats Issue Stats

Looking for support?

For questions and support please visit the Slack community or StackOverflow.

The Babel issue tracker is exclusively for bug reports and feature requests.

Want to report an issue with babeljs.io?

For documentation and website issues please visit the babel.github.io repo.

Description
No description provided
Readme 79 MiB
Languages
JavaScript 99.5%
Makefile 0.3%
HTML 0.1%