leebyron/async-to-gen

Invalid async lambda generation

nelak opened this issue · 2 comments

nelak commented

When using require('async-to-gen/register');
Calling an async lambda as async () => {} works
but calling async() => {} will cause the new method to fail compilation.

Whitespace woes? Thanks for the report, I'll take a gander.

nelak commented

Cool! Thanks for the quick fix! :)