Skip to content

[feat] opt-out loopGuard for async loops #6963

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

Merged
merged 2 commits into from
Dec 13, 2021

Conversation

tanhauhau
Copy link
Member

Fixes #6945

  • opt-out loopguard for async loops
  • fix the test for opt-out loopGuard for generators (it wasn't throwing error without the fix)

Before submitting the PR, please make sure you do the following

  • Prefix your PR title with [feat], [fix], [chore], or [docs].
  • This message body should clearly illustrate what problems it solves.
  • Ideally, include a test that fails without this PR but passes with it.

Tests

  • Run the tests with npm test and lint the project with npm run lint

@Conduitry Conduitry merged commit 6ecc3e4 into sveltejs:master Dec 13, 2021
@GauBen
Copy link
Contributor

GauBen commented Dec 24, 2021

The fix does not seem to work, please see https://svelte.dev/repl/019d33c57a284a78aced8a2dad3cfa89?version=3.44.3

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.

Infinite loop detected triggered in async loops
3 participants