You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/svelte/src/compiler/errors.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -475,7 +475,7 @@ export function store_invalid_subscription_module(node) {
475
475
* @returns {never}
476
476
*/
477
477
exportfunctiontrace_rune_duplicate(node){
478
-
e(node,"trace_rune_duplicate","`$inspect.trace` must only be used once within the same block statement");
478
+
e(node,"trace_rune_duplicate",`\`$inspect.trace\` must only be used once within the same block statement\nhttps://svelte.dev/e/trace_rune_duplicate`);
479
479
}
480
480
481
481
/**
@@ -484,7 +484,7 @@ export function trace_rune_duplicate(node) {
484
484
* @returns {never}
485
485
*/
486
486
exportfunctiontrace_rune_invalid_argument(node){
487
-
e(node,"trace_rune_invalid_argument","`$inspect.trace` requires a string argument for the trace name");
487
+
e(node,"trace_rune_invalid_argument",`\`$inspect.trace\` requires a string argument for the trace name\nhttps://svelte.dev/e/trace_rune_invalid_argument`);
488
488
}
489
489
490
490
/**
@@ -493,7 +493,7 @@ export function trace_rune_invalid_argument(node) {
493
493
* @returns {never}
494
494
*/
495
495
exportfunctiontrace_rune_invalid_location(node){
496
-
e(node,"trace_rune_invalid_location","`$inspect.trace` must be placed directly inside a block statement");
496
+
e(node,"trace_rune_invalid_location",`\`$inspect.trace\` must be placed directly inside a block statement\nhttps://svelte.dev/e/trace_rune_invalid_location`);
497
497
}
498
498
499
499
/**
@@ -1590,4 +1590,4 @@ export function unexpected_reserved_word(node, word) {
1590
1590
*/
1591
1591
exportfunctionvoid_element_invalid_content(node){
1592
1592
e(node,"void_element_invalid_content",`Void elements cannot have children or closing tags\nhttps://svelte.dev/e/void_element_invalid_content`);
0 commit comments