You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
async function is compiled to an async output
Information about your Svelte project:
Svelte 3.14.1, Webpack, Mac OS Mojave.
Problem replicated in REPL with Svelte 3.13.0.
Severity
I can downgrade to Svelte 3.12 to work around the issue for now, but I'd have to restructure my code to put the object declaration somewhere else in order to upgrade Svelte.
The text was updated successfully, but these errors were encountered:
Describe the bug
When creating an async method on an object, the compiled output does not have the
async
keyword. New in 3.13.0.Logs
Cannot use keyword 'await' outside an async function
To Reproduce
https://svelte.dev/repl/da0f4ec5dc8048fdb2f43b97fe203fa3?version=3.14.1
Expected behavior
async function is compiled to an async output
Information about your Svelte project:
Svelte 3.14.1, Webpack, Mac OS Mojave.
Problem replicated in REPL with Svelte 3.13.0.
Severity
I can downgrade to Svelte 3.12 to work around the issue for now, but I'd have to restructure my code to put the object declaration somewhere else in order to upgrade Svelte.
The text was updated successfully, but these errors were encountered: