tweak message

pull/14290/head
Rich Harris 2 years ago
parent 8461ca9e0e
commit 464b22be4d

@ -979,7 +979,7 @@ A `<textarea>` can have either a value attribute or (equivalently) child content
### trace_rune_invalid_location
```
`$inspect.trace` must be placed directly inside a function and be the first statement
`$inspect.trace(...)` must be the first statement of a function body
```
### transition_conflict

@ -192,7 +192,7 @@ Using a `$` prefix to refer to the value of a store is only possible inside `.sv
## trace_rune_invalid_location
> `$inspect.trace` must be placed directly inside a function and be the first statement
> `$inspect.trace(...)` must be the first statement of a function body
## typescript_invalid_feature

@ -479,12 +479,12 @@ export function trace_rune_invalid_argument(node) {
}
/**
* `$inspect.trace` must be placed directly inside a function and be the first statement
* `$inspect.trace(...)` must be the first statement of a function body
* @param {null | number | NodeLike} node
* @returns {never}
*/
export function trace_rune_invalid_location(node) {
e(node, "trace_rune_invalid_location", `\`$inspect.trace\` must be placed directly inside a function and be the first statement\nhttps://svelte.dev/e/trace_rune_invalid_location`);
e(node, "trace_rune_invalid_location", `\`$inspect.trace(...)\` must be the first statement of a function body\nhttps://svelte.dev/e/trace_rune_invalid_location`);
}
/**

Loading…
Cancel
Save