-
Notifications
You must be signed in to change notification settings - Fork 633
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsyncGenerator
: does not implement [Symbol.asyncIterator]
#820
Comments
Hi,
We will add them to Hermes, but at this time we don't have a concrete timeline. |
I did not realize that async generators were introduced after generators; thank you for providing that clarity I didn't see any compilation errors in my React Native project (at build time nor at run time); that might be a separate issue in and of itself thank you |
There is probably a Babel pass for async generators that runs first, so Hermes doesn't see them at all. It is possible that the Babel transform is not fully spec compliant, but still usable? |
This will be implemented when we transition to support the corresponding version of EcmaScript. |
Bug Description
AsyncGenerator
instances in Hermes do not conform to the async iterable protocol as they do not implement [Symbol.asyncIterator]gradle clean
and confirmed this bug does not occur with JSCHermes version: (How do I look this up? I'm using whatever version I would have after follow these instructions. 0.70.1?)
React Native version (if any): 0.70.1
OS version (if any):
Platform (most likely one of arm64-v8a, armeabi-v7a, x86, x86_64):
Steps To Reproduce
The Expected Behavior
The Actual Behavior
The text was updated successfully, but these errors were encountered: