Skip to content
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

Support await with only pending block #77

Merged
merged 2 commits into from
May 5, 2020

Conversation

RedHatter
Copy link

@RedHatter RedHatter commented Jan 30, 2020

#47 was a step in the right direction but an await without a catch or then block, only a pending block are also valid. This PR adds support for that as well as restructures the code to be more DRY.

Edit: This change would also fix #76.

@RedHatter
Copy link
Author

Sorry about the force pushes. Everything should be good now.

@Conduitry Conduitry merged commit 9f081ca into sveltejs:master May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants