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

REPL 3.16.0 await block doesn't work #4058

Closed
vipero07 opened this issue Dec 6, 2019 · 2 comments
Closed

REPL 3.16.0 await block doesn't work #4058

vipero07 opened this issue Dec 6, 2019 · 2 comments

Comments

@vipero07
Copy link

vipero07 commented Dec 6, 2019

Describe the bug
The REPL version 3.16.0 never resolves a promise.
https://svelte.dev/repl/dfacb2fa6dcc4c0aab18512e7fd189f3?version=3.16.0
vs
https://svelte.dev/repl/dfacb2fa6dcc4c0aab18512e7fd189f3?version=3.15.0

Information about your Svelte project:

  • Your browser and the version: (e.x. Chrome 52.1, Firefox 48.0, IE 10)
    Chrome Version 74.0.3729.169 (Official Build) (64-bit)

  • Your operating system: (e.x. OS X 10, Ubuntu Linux 19.10, Windows XP, etc)
    Windows 10

  • Svelte version (Please check you can reproduce the issue with the latest release!)
    3.16.0

  • Whether your project uses Webpack or Rollup
    REPL

Severity
It makes svelte look bad to people playing with the REPL, I'm not sure if this issue exists outside of the REPL in 3.16.0 itself, but its possible.

@ghost
Copy link

ghost commented Dec 6, 2019

@Conduitry, this is a duplicate of #4044.
@vipero07, mind closing this in favor of the other one since work was already started?

@vipero07
Copy link
Author

vipero07 commented Dec 6, 2019

Seems to be related to using if blocks inside the await per @dkondrad and #4044

@vipero07 vipero07 closed this as completed Dec 6, 2019
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

No branches or pull requests

1 participant