Skip to content

Async Functions for ES6 - #3078

Merged
Ron Buckton (rbuckton) merged 46 commits into
masterfrom
asyncFunctions
Jul 1, 2015
Merged

Async Functions for ES6#3078
Ron Buckton (rbuckton) merged 46 commits into
masterfrom
asyncFunctions

Conversation

@rbuckton

Copy link
Copy Markdown
Contributor

Adds support for async functions when targeting ES6 only.

Comment threadsrc/compiler/parser.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

'setContextFlags' is not a great name (esp as we have a function call setContextFlag). Maybe 'newContextFlags'?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

setContextFlags -> contextFlagsToClear
unsetContextFlags -> contextFlagsToSet

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great!

Comment threadsrc/compiler/parser.ts Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same here.

Ron Buckton (rbuckton) added a commit that referenced this pull request Jul 1, 2015
@rbuckton
Ron Buckton (rbuckton) merged commit b2a871d into masterJul 1, 2015
@rbuckton
Ron Buckton (rbuckton) deleted the asyncFunctions branch July 1, 2015 16:51
@microsoftMicrosoft (microsoft) locked and limited conversation to collaborators Jun 18, 2018
Sign up for freeto 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.

9 participants

@rbuckton@JsonFreeman@yuit@DanielRosenwasser@ahejlsberg@CyrusNajmabadi@mhegazy@msftclas@weswigham