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

context_everywhere is discarded for run method #924

Closed
bobismijnnaam opened this issue Jan 11, 2023 · 1 comment
Closed

context_everywhere is discarded for run method #924

bobismijnnaam opened this issue Jan 11, 2023 · 1 comment
Assignees
Labels
A-Bug F-PVL Frontend: PVL

Comments

@bobismijnnaam
Copy link
Contributor

The following example fails, while I would expect succesful verification:

pure int f();

class C {

  context_everywhere f() == 3;
  run {
    assert f() == 3;
  }
}
@bobismijnnaam bobismijnnaam added A-Bug F-PVL Frontend: PVL labels Jan 12, 2023
OmerSakar added a commit that referenced this issue Dec 19, 2024
Fixed issue #924: context_everywhere was not propagated correctly in run methods.
@OmerSakar
Copy link
Member

Issue fixed in #1297

@OmerSakar OmerSakar self-assigned this Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Bug F-PVL Frontend: PVL
Projects
None yet
Development

No branches or pull requests

2 participants