Skip to content

Svelte 5: Cannot use rest arguments in snippets #11479

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
ciscoheat opened this issue May 5, 2024 · 1 comment
Closed

Svelte 5: Cannot use rest arguments in snippets #11479

ciscoheat opened this issue May 5, 2024 · 1 comment

Comments

@ciscoheat
Copy link

Describe the bug

Using a rest argument for a parameter in a snippet leads to a compiler error.
snippet-rest

Reproduction

https://github.com/ciscoheat/s5-snippets-rest-args

Logs

No response

System Info

System:
    OS: Windows 10 10.0.19045
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    Memory: 42.64 GB / 63.93 GB
  Binaries:
    Node: 21.4.0 - C:\Program Files\nodejs\node.EXE       
    Yarn: 1.22.21 - ~\AppData\Local\pnpm\yarn.CMD
    npm: 9.3.1 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.0.6 - ~\AppData\Local\pnpm\pnpm.CMD
    bun: 1.0.32 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (123.0.2420.97)
    Internet Explorer: 11.0.19041.3636
  npmPackages:
    svelte: ^5.0.0-next.1 => 5.0.0-next.123

Severity

annoyance

@ciscoheat ciscoheat changed the title Cannot use rest arguments in snippets Svelte 5: Cannot use rest arguments in snippets May 5, 2024
@dummdidumm
Copy link
Member

Closing as duplicate of #11178

@dummdidumm dummdidumm closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants