qsharp-compiler
qsharp-compiler copied to clipboard
Q# compiler, command line tool, and Q# language server
Some errors reported by the compiler can be multiline, but everything after the first newline gets trimmed by dotnet build in the compilation output. For example, the following Q# produces...
This adds some explicit removals of external lib dependencies to avoid accidentally pulling them in from the manyLinux container environment.
As per the official [.NET and .NET Core Support Policy](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core), support for .NET Core 3.0 ended on March 3, 2020 and for .NET Core 2.1 on August 21, 2021. Recognizing...
**Describe the bug** The details of precedence can be found in page https://docs.microsoft.com/zh-cn/azure/quantum/user-guide/language/expressions/precedenceandassociativity. It is shown that bitwise XOR has a higher priority than power operator,so we derived the following...
**Is your feature request related to a problem? Please describe.** Deprecation notes can at times be difficult to understand. For instance, `warning QS3308: Deprecated syntax. Use [] to construct an...
**Describe the bug** Compiler freezes (i.e. takes longer than is reasonable to wait) when compiling nested array logic. **To Reproduce** The issue is reproduced with following snippet: ``` namespace QATSample...
This dependency: https://github.com/microsoft/qsharp-compiler/blob/73429cd30b77e3ffff96a26f36f1f3ce97236c66/src/QsCompiler/SyntaxProcessor/SyntaxProcessor.fsproj#L39 causes issues with downstream documentation publishing because all versions of Microsoft.Experimental.Collections are tagged as prerelease. It's easier to remove this dependency than to update the docs publishing...
**Describe the bug** The following code fails on executing the "Functor Generation" compilation step when running `dotnet build` once, then succeeds when running `dotnet build` twice. It should probably fail....
Updates the naming scheme used for generated callables and local variables in the Q# compiler. Generated callables names will all have a GUID surrounded by double underscores prepended to the...
**Describe the bug** When creating a new Q# project on a host with .NET 6 but not .NET Core 3.1 installed, the following error is observed:  **To Reproduce** Steps...