[Bug]: Quantification over all char values implemented incorrectly in Java runtime #3001
Labels
during 4: bad execution of correct program
A bug in the Dafny compiler that causes a correct Dafny program to execute incorrectly
lang: java
Dafny's Java transpiler and its runtime
part: runtime
Happens in Dafny's runtime (Add a `lang` tag if relevant)
Dafny version
3.9.1
Code to produce this issue
Command to run and results
What happened?
Exception in thread "main" java.lang.ArithmeticException: BigInteger divide by zero
Root cause is a typo in
Helpers.AllChars()
(0x1000
instead of0x1_0000
).Will fix in the upcoming
--unicode-char
implementation PR, just wanted to track the soundness bug.Loving the new issue template! :)
What type of Operating System are you seeing the problem on?
Mac
The text was updated successfully, but these errors were encountered: