facebook / regenerator

Source transformer enabling ECMAScript 6 generator functions in JavaScript-of-today.
http://facebook.github.io/regenerator/
MIT License
3.82k stars 1.15k forks source link

Preserve arrow functions in async code #269

Open kangax opened 7 years ago

kangax commented 7 years ago

They currently always get transpiled due to the Babel plugin that's required to make them work.

c.f.: https://github.com/facebook/regenerator/issues/230#issuecomment-268355691

wmertens commented 7 years ago

I think the same applies to ForOfStatement, see https://github.com/babel/babel-preset-env/issues/103