svelte
Public

web development for the rest of us

'Undefined Reference' when indexing a $bindable prop in dev mode#15840

Open
Opened 4/27/20252 commentsby jhwz
jhwz

### Describe the bug The generated code in dev mode references an undefined variable, maybe it thinks every variable in the expression has been declared with `$.prop`? ### Reproduction https://svelte.dev/playground/8e7f81107bbd4530a08a77ebe520a10b?version=5.28.2 Look at the JS output, compiler options must be: - generate: client - dev: true ### Logs ```shell ``` ### System Info ```shell NA ``` ### Severity annoyance

AI Analysis

This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by jhwz and has received 2 comments.

Add a comment
Comment form would go here