-
Notifications
You must be signed in to change notification settings - Fork 235
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
F# build of F* rejects 0ul as out of range #1053
Comments
Ouch, this seems caused by integers in the F# build being bounded, and |
Sigh. Yes, the F# build of F* is not sound. We've known this for a long time, since we do not use bignums for representing mathematical integers in F#. As such, the F# build is mainly used for bootstrapping currently. Fixing it to use .net bignums should be possible, but it's tedious work. We should do it at some point. |
Removed the duplicate flag since there might be place for short term mitigations targeted only at this particular issue (while still punting on #1054). Personally, I would very much like if we could have the F# version to run all the regular regressions as well, so that we're forced to keep it up to date. And we didn't seem too far from this (#1023), until this came along at least. |
This is fixed in #1283. These overflow errors are quite annoying to debug when they pop up, perhaps the F# build should be compiled with the |
Can this be closed now? |
It seems that @nikswamy's recent code for checking constant bounds (a8c1fbc#diff-0b9e97904ace9e5e55b6cdcd8e842211R642) does not work with the F# build. This appeared in a larger context (#1023 (comment)), but it can be simplified to just this:
The error message is:
This works just fine with the OCaml build of F*.
The text was updated successfully, but these errors were encountered: