qsharp-compiler
qsharp-compiler copied to clipboard
Q# compiler, command line tool, and Q# language server
Whenever an array in QIR is set to a new variable, the alias counts on each item have to be incremented for the new alias and later decremented if the...
**Describe the bug** When code completion replaces the partial variable/operation name with the autocompleted one, it replaces the characters that cannot be part of the variable name, such as closing...
The compiler defines three hash generating functions in `NamespaceManager`: `TypeHash`, `ExpressionHash`, and `HeaderHash`. These hash functions are not used correctly and can cause incorrect compilation. Examples: https://github.com/microsoft/qsharp-compiler/blob/47fce24f420be04526258ef06f32eec53b2d4655/src/QsCompiler/Core/SymbolTable/NamespaceManager.fs#L496-L497 This code may...
The `New` methods defined in https://github.com/microsoft/qsharp-compiler/blob/main/src/QsCompiler/Core/ConstructorExtensions.fs can't be accessed from C#. This is problematic when changing the fields of a record, since the `New` methods can go through a deprecation...
**Describe the bug** When calling the `CompilationLoader` constructor from a Blazor WebAssembly project, an incomplete task is disposed internal to the constructor, causing an exception to propagate out to the...
The `NoWarn` SDK property is not fully supported by the Q# SDK and the language server. While it seems like MSBuild recognizes it and hides matching warnings, `NoWarn` is not...
Allow configurable Microsoft.Quantum.Sdk version in language server automatically-generated .csproj
**Is your feature request related to a problem? Please describe.** In latest beta builds from `master`, the language server is creating a temporary project to compile and provide IntelliSense features...
A proper postcondition verification for target instruction inference pass could be used as a precondition for the QIR emission. Alternatively, we could rely on the information from the transformation itself.