Async Functions for ES6 by rbuckton · Pull Request #3078 · microsoft/TypeScript

@rbuckton

Adds support for async functions when targeting ES6 only.

@rbuckton

CyrusNajmabadi

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'?

Choose a reason for hiding this comment

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

setContextFlags -> contextFlagsToClear
unsetContextFlags -> contextFlagsToSet

Choose a reason for hiding this comment

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

Great!

mhegazy

Choose a reason for hiding this comment

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

same here.

rbuckton added a commit that referenced this pull request

Jul 1, 2015

@microsoft microsoft locked and limited conversation to collaborators

Jun 18, 2018