diff --git a/src/compiler/compile/utils/reserved_keywords.ts b/src/compiler/compile/utils/reserved_keywords.ts index 00f3a3b87b..75825c1719 100644 --- a/src/compiler/compile/utils/reserved_keywords.ts +++ b/src/compiler/compile/utils/reserved_keywords.ts @@ -1,5 +1,5 @@ export const reserved_keywords = new Set(["$$props", "$$restProps"]); export function is_reserved_keyword(name) { - return reserved_keywords.has(name); + return reserved_keywords.has(name); } \ No newline at end of file diff --git a/test/runtime/samples/$$rest-without-props/App.svelte b/test/runtime/samples/$$rest-without-props/App.svelte index d8e04d5904..e98fec30d4 100644 --- a/test/runtime/samples/$$rest-without-props/App.svelte +++ b/test/runtime/samples/$$rest-without-props/App.svelte @@ -1,10 +1,10 @@
Length: {length}
Values: {values.join(',')}
diff --git a/test/runtime/samples/$$rest-without-props/main.svelte b/test/runtime/samples/$$rest-without-props/main.svelte index 88a2a5f8ef..21b2690584 100644 --- a/test/runtime/samples/$$rest-without-props/main.svelte +++ b/test/runtime/samples/$$rest-without-props/main.svelte @@ -1,21 +1,21 @@ diff --git a/test/runtime/samples/$$rest/App.svelte b/test/runtime/samples/$$rest/App.svelte index 68beffdcbf..875372f670 100644 --- a/test/runtime/samples/$$rest/App.svelte +++ b/test/runtime/samples/$$rest/App.svelte @@ -1,10 +1,10 @@
Length: {length}
Values: {values.join(',')}
diff --git a/test/runtime/samples/$$rest/main.svelte b/test/runtime/samples/$$rest/main.svelte index 88a2a5f8ef..21b2690584 100644 --- a/test/runtime/samples/$$rest/main.svelte +++ b/test/runtime/samples/$$rest/main.svelte @@ -1,21 +1,21 @@