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

Q# compiler, command line tool, and Q# language server

Results 138 qsharp-compiler issues
Sort by recently updated
recently updated
newest added

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...

performance
area: code gen (QIR)

**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...

bug
area: editor

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...

bug

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...

maintenance

**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...

bug

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...

bug
area: SDK
area: editor

**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...

enhancement
area: editor

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.

area: code gen (QIR)