You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
…icts (#566)
This change removes the dependency on NuGet.ProjectModel from the LanguageServer project and instead relies on the installed version of the binary. This change intends to avoid the dependency between the .Net Core SDK version and NuGet in MSBuildLocator. See issue #86 for additional reference.
(microsoft/MSBuildLocator#86)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
The smallest possible int64 value
-9223372036854775808
cannot be parsed into a Q#Int
type.To Reproduce
A test case to trigger the bug is described in this branch:
https://github.com/msoeken/qsharp-compiler/blob/msoeken/minint-bug/src/QsCompiler/Tests.Compiler/SyntaxTests.fs#L171
Expected behavior
The parser returns an
Int
value with the smallest integer value.System information
Reproduced on master, other system information seems to be irrelevant for this bug.
Additional context
Maybe the sign is parsed separate from the int value, since the largest int64 value is 9223372036854775807.
The text was updated successfully, but these errors were encountered: