Skip to content

Comma operator broke in 104.4.4 #856

@dkzlv

Description

@dkzlv

Describe the bug
TypeScript and JavaScript script analyser broke for declaring multiple variables in 104.4.4 version of extension.

To Reproduce

const { page } = stores(),
  redirect = () => goto(appPath);

This code will show an error on top of the comma, saying Declaration or statement expected.js(1128) for JS and ts(1128) for TS.

Expected behavior
Should work.

Screenshots
Снимок экрана 2021-03-04 в 17 28 02

System (please complete the following information):

  • OS: Mac OS X
  • IDE: VSCode
  • Plugin/Package: "Svelte for VSCode" AND svelte-check

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