Describe the bug
If you pass an awaited expression to a {@debug ...} statement, it will error.
I found the bug while investigating a regression in our app introduced in 5.55.3 (unrelated to this issue - still trying to reproduce).
Related: #18024
Reproduction
REPL
<svelte:boundary>
{@const data = await Promise.resolve("works")}
{@debug data}
</svelte:boundary>
Logs
System Info
Severity
annoyance
Describe the bug
If you pass an awaited expression to a
{@debug ...}statement, it will error.I found the bug while investigating a regression in our app introduced in 5.55.3 (unrelated to this issue - still trying to reproduce).
Related: #18024
Reproduction
REPL
Logs
System Info
.Severity
annoyance