Skip to content

Conversation

@jasonlyu123
Copy link
Member

fixing this situation

<script lang="ts">  function a(b: string) {} </script> <div> {#if ''} <Popup options={{ content: `  <div>  <b>${marker.name}</b><br>  </div>  ` }} /> {/if} </div>

Not exactly a "proper fix" for it. But without parsing the object literal, this might be the best workaround for now. Maybe we could experiment with using the Svelte compiler output for extracting top-level style/script in Svelte5.

@changeset-bot
Copy link

changeset-bot bot commented Nov 11, 2025

🦋 Changeset detected

Latest commit: cef7c06

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte-language-server Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jasonlyu123 jasonlyu123 merged commit 04d52b7 into master Nov 11, 2025
3 checks passed
@jasonlyu123 jasonlyu123 deleted the control-flow-check branch November 11, 2025 02:39
@github-actions github-actions bot mentioned this pull request Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants