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