Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

"Extra comma will be ignored" warning squiggled incorrectly in VS Code on Linux #986

Open
@tcNickolas

Description

@tcNickolas

Describe the bug

VS Code extension on Linux draws the warning squiggles for extra comma in a list of parameters or in an array on the parameter/array element before the comma, not the extra comma itself.

To Reproduce

operation PrepareSingleQubitState (q : Qubit, ) : Unit is Adj + Ctl {
    let a = [0, ]; 
}

Expected behavior

Green squiggles under the extra comma itself.

Screenshots

VS Code on Linux:
squiggles-VSCode

For comparison, Visual Studio on Windows:
image

System information

  • Version of QDK extension: 0.15.2103133969
  • Linux, .NET Core 3.1.407
  • VS Code 1.54.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: editorExtensions for Visual Studio and Visual Studio CodebugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions