qsharp-compiler
qsharp-compiler copied to clipboard
"Extra comma will be ignored" warning squiggled incorrectly in VS Code on Linux
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:
For comparison, Visual Studio on Windows:
System information
- Version of QDK extension: 0.15.2103133969
- Linux, .NET Core 3.1.407
- VS Code 1.54.3
@ricardo-espinoza This seems to be IDE related; could you make sure this issue gets tracked on your end?