qsharp-compiler icon indicating copy to clipboard operation
qsharp-compiler copied to clipboard

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

Open tcNickolas opened this issue 3 years ago • 1 comments

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

tcNickolas avatar Apr 21 '21 04:04 tcNickolas

@ricardo-espinoza This seems to be IDE related; could you make sure this issue gets tracked on your end?

bettinaheim avatar May 06 '21 02:05 bettinaheim