Skip to content

{@ is incorrectly parsed as nothing #17252

@paoloricciuti

Description

@paoloricciuti

Describe the bug

If you have a svelte component with just {@ in it the component is actually parsed as empty...this also means that having {@whatever} is parsed as just the text whatever}

Reproduction

REPL

Logs

System Info

repl

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerChanges relating to the compiler

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions