Skip to content

async generator object method and minor misc #6172

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

Merged
merged 1 commit into from
Jun 24, 2019

Conversation

rhuanjl
Copy link
Collaborator

@rhuanjl rhuanjl commented Jun 23, 2019

I missed async generator properties of objects when updating the parser in #5834

This PR:

  1. fixes that omission enabling async generator properties of objects when async generators are enabled
  2. adds tests for a couple of async generator syntax options that were not currently tested (including for point 1)
  3. updates the async generator continue methods to use the new PerformPromiseThen from Await should only get the promise's constructor property once #6163 - this has no observable effect but improves internal consistency

@zenparsing please could you take a look at this?

@chakrabot chakrabot merged commit ade0a9f into chakra-core:master Jun 24, 2019
chakrabot pushed a commit that referenced this pull request Jun 24, 2019
Merge pull request #6172 from rhuanjl:asyncGeneratorFixes

I missed async generator properties of objects when updating the parser in #5834

This PR:
1. fixes that omission enabling async generator properties of objects when async generators are enabled
2. adds tests for a couple of async generator syntax options that were not currently tested (including for point 1)
3. updates the async generator continue methods to use the new PerformPromiseThen from #6163 - this has no observable effect but improves internal consistency

@zenparsing please could you take a look at this?
@zenparsing
Copy link
Contributor

Thanks, @rhuanjl!

@rhuanjl rhuanjl deleted the asyncGeneratorFixes branch June 24, 2019 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants