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

Allow spreads to precede the `await` operator #538

merged 1 commit into from Oct 16, 2017


None yet
2 participants

Alhadis commented Oct 12, 2017

Description of the Change

This is legal JS:

async function filter(list){
	list = doStuff(...await parseList(list));

Currently, ...await isn't receiving correct highlighting and requires an intervening space character in order for await to be scoped properly. This PR fixes that.

@50Wliu 50Wliu merged commit 6c28417 into atom:master Oct 16, 2017

1 check passed

continuous-integration/appveyor/pr AppVeyor build succeeded

@Alhadis Alhadis deleted the Cutlery-Drawer:await-broken-boundary branch Oct 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment