Open make-github-pseudonymous-again opened 3 years ago
Any idea if #565 or https://github.com/developit/microbundle/pull/707#pullrequestreview-472310599 is related?
I see here that babel-plugin-transform-async-to-promises
does not support async generators. Is this plugin still used? Is the logic to transpile async generators missing?
Still getting the error. I managed to write a GitHub worflow to automate testing all builds of async-abstraction/tape
. You can see the error here.
I created a minimal bug reproduction repository at https://github.com/bisectifiate/microbundle-async-generator with a workflow that automates testing of the source and the built bundles.
I managed to get @async-abstraction/tape
to work by replacing a bunch of for await ...
syntax by await iterator.next()
syntax, but that's not all that is needed. I hit some issues with switch
statements, similar to #505, most notably non-working fall-through logic. I also hit my head on while ((await f()) !== x);
. Will update the minimal bug reproduction.
EDIT: I updated https://github.com/bisectifiate/microbundle-async-generator with the one-liner while ... await
example. I could not reproduce the switch
fall-through
I am getting some interestingly erroneous builds for code relying on
AsyncIterable
andAsyncIterator
. Steps to reproduce: