Skip to content

Svelte 5: Snippet definition eats the following text #9804

@7nik

Description

@7nik

Describe the bug

The compiler throws away the text that goes right after a snippet definition

Reproduction

https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAAzWMQQrCMBBFr1LGTQXBfVb1HNZFNT8QaCfDZCpKyN1NRFef93j8QiGuyOSuhXjZQI4uInQie0uH_MRqaJzTro9uDC8b7ghJMXM5ZI4isKHveKzl_BN15m-5BIO2cFKwh_679rglH0OEJ2e6o97qB0CLpBKMAAAA

Logs

No response

System Info

Svelte v5.0.0-next.19

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcompilerChanges relating to the compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions