Skip to content

Emit generator functions and yield expressions in ES6.#2706

Merged
CyrusNajmabadi merged 2 commits into
masterfrom
emitYieldStart
Apr 11, 2015
Merged

Emit generator functions and yield expressions in ES6.#2706
CyrusNajmabadi merged 2 commits into
masterfrom
emitYieldStart

Conversation

@CyrusNajmabadi
Copy link
Copy Markdown
Contributor

This is not the downlevel emit. This simply emits the AST as-is for ES6 and above. Fixes #2703

Comment thread src/compiler/emitter.ts
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you amend my comment? Also, did we start supporting spread?

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Apr 10, 2015

👍

1 similar comment
@rbuckton
Copy link
Copy Markdown
Contributor

👍

@yuit
Copy link
Copy Markdown
Contributor

yuit commented Apr 10, 2015

👍

CyrusNajmabadi added a commit that referenced this pull request Apr 11, 2015
Emit generator functions and yield expressions in ES6.
@CyrusNajmabadi CyrusNajmabadi merged commit 1c7d8a2 into master Apr 11, 2015
@CyrusNajmabadi CyrusNajmabadi deleted the emitYieldStart branch April 11, 2015 09:40
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Always emit asteriskToken and yield if parsed

6 participants