Skip to content

binding_group is not defined #15037

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

Closed
lagden opened this issue Jan 16, 2025 · 0 comments · Fixed by #15401
Closed

binding_group is not defined #15037

lagden opened this issue Jan 16, 2025 · 0 comments · Fixed by #15401
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants