Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Allow spreads to precede the await operator #538

Merged
merged 1 commit into from
Oct 16, 2017
Merged

Allow spreads to precede the await operator #538

merged 1 commit into from
Oct 16, 2017

Conversation

Alhadis
Copy link
Contributor

@Alhadis 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.

@winstliu winstliu merged commit 6c28417 into atom:master Oct 16, 2017
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.

2 participants