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

(fix) support then/catch shorthands #1171

Merged
merged 6 commits into from Dec 17, 2021

Conversation

dummdidumm
Copy link
Member

@dummdidumm dummdidumm commented Sep 9, 2021

#1283
Added in Svelte 3.41

Tests are failing because there's a check in Svelte now which errors when someone writes something like on: (: last without a letter afterwards). We should probably try to implement some kind of more forgiving AST traversal mode in Svelte before bumping the Svelte version here -> #1177 .
Update: Fixed the completion tests and also added some logic so that typing a : does not break completions. During that I noticed that on: and let: are suggested too often, for example also inside lambda functions of event handlers - should be looked into how we can solve this someday to not show in that case.
Bumping the versions uncovered another error in svelte-preprocess with the new import transformation, need to check over at svelte-preprocess what the bug is. Edit: Found the issue over at svelte-preprocess (PR: sveltejs/svelte-preprocess#443), release pending, then we can continue here.

@dummdidumm dummdidumm marked this pull request as ready for review December 17, 2021 08:43
@dummdidumm dummdidumm merged commit 2ac0623 into sveltejs:master Dec 17, 2021
@dummdidumm dummdidumm deleted the enhance-await-support branch December 17, 2021 08:45
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.

None yet

1 participant