@ -70,6 +70,10 @@ This turned out to be buggy and unpredictable, particularly when working with de
> `$effect()` can only be used as an expression statement
## experimental_async
> Cannot use `await` in deriveds and template expressions, or at the top level of a component, unless the `experimental.async` compiler option is `true`
## export_undefined
> `%name%` is not defined
@ -100,7 +104,7 @@ This turned out to be buggy and unpredictable, particularly when working with de
## legacy_await_invalid
> Cannot use `await` at the top level of a component, or in the template, unless in runes mode
> Cannot use `await`in deriveds and template expressions, or at the top level of a component, unless in runes mode
e(node,'experimental_async',`Cannot use \`await\` in deriveds and template expressions, or at the top level of a component, unless the \`experimental.async\` compiler option is \`true\`\nhttps://svelte.dev/e/experimental_async`);
}
/**
*`%name%`isnotdefined
*@param{null|number|NodeLike}node
@ -234,12 +243,12 @@ export function invalid_arguments_usage(node) {
e(node,'legacy_await_invalid',`Cannot use \`await\`at the top level of a component, or in the template, unless in runes mode\nhttps://svelte.dev/e/legacy_await_invalid`);
e(node,'legacy_await_invalid',`Cannot use \`await\`in deriveds and template expressions, or at the top level of a component, unless in runes mode\nhttps://svelte.dev/e/legacy_await_invalid`);