-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Not planned
Description
Describe the bug
Using a rest argument for a parameter in a snippet leads to a compiler error.
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
Activity
[-]Cannot use rest arguments in snippets[/-][+]Svelte 5: Cannot use rest arguments in snippets[/+]dummdidumm commentedon May 5, 2024
Closing as duplicate of #11178