Skip to content
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

Assertion failure in CompatibleDecreasesTypes with bv32 type (round 2) #39

Closed
0xabu opened this issue Oct 6, 2016 · 0 comments
Closed
Assignees

Comments

@0xabu
Copy link

0xabu commented Oct 6, 2016

The following function:

function BitsAsInt(b:bv32): int
    ensures 0 <= BitsAsInt(b) < 0x1_0000_0000
{
    b as int
}

Causes an assertion failure in the latest Dafny:
image

(Very similar to issue #26.)

@qunyanm qunyanm closed this as completed in 3f899b9 Oct 6, 2016
camrein added a commit that referenced this issue Apr 8, 2021
Updated the dafny submodule to v3.0.0-PreRelease2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants