Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

binding_group is not defined #15037

Open
lagden opened this issue Jan 16, 2025 · 0 comments · May be fixed by #15040
Open

binding_group is not defined #15037

lagden opened this issue Jan 16, 2025 · 0 comments · May be fixed by #15040
Assignees

Comments

@lagden
Copy link

lagden commented Jan 16, 2025

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

@paoloricciuti paoloricciuti self-assigned this Jan 16, 2025
@paoloricciuti paoloricciuti linked a pull request Jan 16, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants