Skip to content

Await doesn't work with #await block #16512

@Thiagolino8

Description

@Thiagolino8

Describe the bug

I know there is no good reason to use await with the #await block, but it should work anyway

Reproduction

REPL

Logs

await isn't allowed in non-async function (Note that you need plugins to import files that are not JavaScript)

System Info

Using Svelte compiler version 5.37.0
running Svelte compiler version 5.37.0

Severity

annoyance

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy