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

Revealing does not work #3805

Open
MikaelMayer opened this issue Mar 27, 2023 · 0 comments
Open

Revealing does not work #3805

MikaelMayer opened this issue Mar 27, 2023 · 0 comments
Labels
kind: bug Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label

Comments

@MikaelMayer
Copy link
Member

Dafny version

4.0.1

Code to produce this issue

opaque predicate P(i: int) { true }

method testCallOpaqueAssert() {
  assert f0: P(0) by {
    reveal P();
  }
  assert P(0) by {
    reveal f0;
  }
}

Command to run and resulting output

Just run in VSCode, it does not verify

What happened?

It should have verified.

What type of operating system are you experiencing the problem on?

Windows

@MikaelMayer MikaelMayer added the kind: bug Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
Projects
None yet
Development

No branches or pull requests

1 participant