Merge pull request #2793 from amasad/fix-2789

Convert arrow functions when remaping to generator. Fixes #2789
This commit is contained in:
Sebastian McKenzie
2015-11-04 19:18:50 +00:00
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1 @@
(async () => { await foo(); })()

View File

@@ -0,0 +1,4 @@
import { coroutine as _coroutine } from "bluebird";
_coroutine(function* () {
yield foo();
})();