Skip to content

Self closing textarea throws unexpected token #300

@ejoflo

Description

@ejoflo

After installing the Svelte for VS Code extension, one of my .svelte files is producing errors in the <style> section of the code. The error is related to closing brackets in the CSS.

The following problems are reported:
'}' expected.
Unexpected token. Did you mean {'}'} or &rbrace;?

My .svelte file works just fine and everything compiles without error so this is more of a minor annoyance. I am not sure how to reproduce this because like I mentioned, it was a previous file that I opened after installing the Svelte for VS Code extension. I have not seen this issue in my other files for the same project, just this one in particular. Screenshot below.

Screen Shot 2020-07-09 at 10 53 53 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed in master branch. Pending production release.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions