Description
Describe the bug
It does not render the snippet with bind:group
when the object is passed as an argument.
Looking at the JS Output
code, it seems that the binding_group
is generated out of scope.
Reproduction
Binding Group A - Fail
https://svelte.dev/playground/4d107a918fcc4f80b80ff51208639ab7?version=5.18.0
Binding Group B - Ok
https://svelte.dev/playground/4fc19fe1807c4702ab850a24a4532486?version=5.18.0
Logs
binding_group is not defined in App.svelte
System Info
System:
OS: macOS 15.2
CPU: (8) arm64 Apple M2
Memory: 155.86 MB / 8.00 GB
Shell: 3.6.4 - /opt/homebrew/bin/fish
Binaries:
Node: 23.5.0 - /opt/homebrew/bin/node
npm: 10.9.2 - /opt/homebrew/bin/npm
pnpm: 9.8.0 - ~/Library/pnpm/pnpm
Browsers:
Chrome: 131.0.6778.265
Chrome Canary: 134.0.6960.0
Safari: 18.2
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels