-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaScript compiler: incorrect bignum comparison #2672
Labels
during 4: bad execution of correct program
A bug in the Dafny compiler that causes a correct Dafny program to execute incorrectly
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
lang: js
Dafny's JavaScript transpiler and its runtime
Comments
Turns out this is about the comparison operator for bigintegers, not bitwise and. It should use |
cpitclaudel
added a commit
that referenced
this issue
Sep 8, 2022
cpitclaudel
added a commit
that referenced
this issue
Sep 8, 2022
cpitclaudel
added a commit
that referenced
this issue
Sep 8, 2022
cpitclaudel
added a commit
that referenced
this issue
Sep 8, 2022
cpitclaudel
added a commit
that referenced
this issue
Sep 8, 2022
cpitclaudel
added a commit
that referenced
this issue
Sep 9, 2022
cpitclaudel
added a commit
that referenced
this issue
Sep 9, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
during 4: bad execution of correct program
A bug in the Dafny compiler that causes a correct Dafny program to execute incorrectly
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
lang: js
Dafny's JavaScript transpiler and its runtime
Consider:
This should print "true", which is what Go, Java, C#, and Python output. However, JavaScript prints "false".
The text was updated successfully, but these errors were encountered: